1:
================
Plesk and apache 2.4.7 need to be reconfigured.
Copy /etc/apache2/conf.d/zz010_psa_httpd.conf to /etc/apache2/conf-enabled/zz010_psa_httpd.conf
2.:
=================
AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
===========================================================
I had this problem : The cause is in the file
/etc/apache2/sites-available/000-default.conf
where the root have changed:
before upgrade = /var/www
after upgrade = /var/www/html
So edit to modify this file
sudo gedit /etc/apache2/sites-available/000-default.conf
And restart apache
$ sudo service apache2 restart
and
I had this problem even though apache was working for me. I simply wanted to do a quick
$ /usr/sbin/apache2 -V
to find the value of SERVER_CONFIG_FILE. Because that\'s not the way to start apache2 any more it
fails with the errors the OP posts. A quick and dirty workaround is simply to set the envvars that
are missing first:
$ source /etc/apache2/envvars
$ /usr/sbin/apache2 -V
This sets the APACHE_LOCK_DIR variable and all is well (-D SERVER_CONFIG_FILE=\"apache2.conf\").
3.:
=============================
ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file,
not touching it
Remove /etc/apache2/mods-enabled/dir.conf and do
$ sudo a2enmod dir
When you run a2enmod, it creates a symlink in the mods-enabled folder pointing to the item in the
mods-available folder. It\'s failing because there\'s already a plain file with the same name. You
don\'t need to \"touch\" stuff.
4.:
=====================================
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Set up the right modules when using mpm event/ FPM , (mpm-fork /php5) or mpm-worker