LAMP install error on Bookworm (Step: Installing PHP)

Okay okay, I learned a lesson, again :laughing:

Meanwhile before this works again I’d like to address some issues I had followoing the abrupt exit of the dietpi-installation of LAMP and the installation of apache, php, mysql by hand:

As I said in my post #3, I had to uncomment

#ThreadsPerChild 64
#ThreadLimit 64
#MinSpareThreads 1
#MaxSpareThreads 64
#MaxRequestWorkers 64

in /etc/apache2/conf-available/dietpi.conf
So what to do with dietpi.conf now and those values?

apache2 doesn’t write logfiles to /var/log/apache2
Files in there existed but only with 0 byte and no progress. Deleting them didn’t change anything but they ceased to exist. /var/log/apache2 is empty now and stays empty.

The only modification I made to apache conf was the creation of a VirtualHost conf file for my nextcloud in /etc/apache2/conf-available and activating it, along with some modules:

a2enmod proxy_fcgi setenvif
a2enconf php8.2-fpm
a2enmod ssl
a2enconf nextcloud-ssl.conf

And still I get error messages if i change my locale via dietpi-config to en_US which I deceided to use now because I need the float format to be transfered via ssh

 # 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

subsequent ( if of any interesst ) I tried to

# a2dismod proxy_fcgi
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "de_DE.UTF-8",
        LC_ALL = "",
        LC_NUMERIC = "C",
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Module proxy_fcgi disabled.