If apache stops unexpectedly in docker's php-apache image, I want to start apache.
service apache2 start
The following is no good.
service httpd start
httpd: unrecognized service
/etc/init.d/httpd start
bash: /etc/init.d/httpd: No such file or directory
apachectl start
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.24.0.2. Set the 'ServerName' directive globally to suppress this message
php: 7.4-I was in trouble because I couldn't use httpd because apache is Debian.
cat /etc/issue
Debian GNU/Linux 10 \n \l
Recommended Posts