Answer the question
In order to leave comments, you need to log in
Trouble starting apache2?
There is an error when starting apache2 on ubuntu. If we type "apache2" into the console, we get:
[Tue May 05 20:47:43.108133 2020] [core:warn] [pid 4944] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot
source /etc/apache2/envvars
apache2 -V
service apache2 restart
source /etc/apache2/envvars
Answer the question
In order to leave comments, you need to log in
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot
Specify your version of puff.
sudo a2dismod php7.2
sudo a2enmod php7.2
sudo systemctl restart apache2
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question