Update:
I am able to install php by hand: apt install php8.2-fpm
I can call phpinfo(); and php -v getting 8.2.7
But if I then try to install e.g. phpmyadmin which invokes php install again I get the same error as above.
It doesn’t change anything.
But I can’t do that anymore because every try ruins my apache/php installation which I have installed by hand now.
Especially because I have to
a2enmod php8.2
again and end up with
Considering dependency mpm_prefork for php8.2:
Considering conflict mpm_event for mpm_prefork:
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
so I have to
a2dismod mpm_event
and then #ThreadsPerChild 64 #ThreadLimit 64 #MinSpareThreads 1 #MaxSpareThreads 64 #MaxRequestWorkers 64
only works if locale is en
in my case it is de and the output is empty because free -m looks like this
~# free -m
gesamt benutzt frei gemns. Puffer/Cache verfügbar
Speicher: 3794 583 2673 93 681 3211
Yes, that’s it! @MichaIng you need to see this.
On my other system I use also de_DE and of course “Mem:” gets translated to “Speicher:” and the mawk command can’t find anything.
You have two syntax error in your script (which is not in dietpi-software), the spaces around the = sign and the $ in front of the variable name. Looks more like PHP syntax . Change it to the way it is assigned in dietpi-software, then it should work:
In all our scripts we enforce C.UTF-8 as locale, so as long as this is compiled (it is even shipped as binary via libc-bin package), within scripts all output should be English/default.
Now that you say it … I have changed locale (via dietpi-config) from de to en_US an hour ago because I wanted to test Jappe’s results and I didn’t change back…
The only thing I remeber I did during first setup was update-locale ‘LC_NUMERIC=en_US.UTF-8’ because I needed the . instead of the , for floats.
However, here are the results:
# locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
C.utf8
POSIX
en_US.utf8
# ls -l /usr/lib/locale
total 2932
drwxr-xr-x 3 root root 4096 Aug 30 18:15 ./
drwxr-xr-x 65 root root 4096 Aug 30 02:09 ../
drwxr-xr-x 3 root root 4096 Jul 31 20:27 C.utf8/
-rw-r--r-- 1 root root 3054672 Aug 30 18:15 locale-archive
Update:
after changing back to de_de I have a different output for