setlocale(LC_ALL, 'en_US.UTF-8');
echo "\n\n";
echo "Что сейчас в locale (php)?\n\n";
echo setlocale(LC_ALL, 0);
echo "\n\n";
echo "Что сейчас в locale (bash)?\n\n";
echo shell_exec('locale');
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
eno2:
accept-ra: false
addresses: [ w.x.y.z/24 ]
gateway4: m.n.o.p
nameservers:
search: [ worldstream.nl ]
addresses:
- "a.b.c.d"
- "e.f.g.h"
Может инициализация сети делается нестандартным способом?
# ifupdown has been replaced by netplan(5) on this system. See
# /etc/netplan for current configuration.
# To re-enable ifupdown on this system, you can run:
# sudo apt install ifupdown
# Added by vesta
auto eno2:0
iface eno2:0 inet static
address xxx.yyy.zzz.230
netmask 255.255.255.0
# Added by vesta
auto eno2:0
iface eno2:0 inet static
address xxx.yyy.zzz.231
netmask 255.255.255.0