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
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
and then #ThreadsPerChild 64 #ThreadLimit 64 #MinSpareThreads 1 #MaxSpareThreads 64 #MaxRequestWorkers 64
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:
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
# ls -l /usr/lib/locale
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
after changing back to de_de I have a different output for