Apache won't start with a PHP Deprecated error
Linode
Linode Staff
Apache is failing to restart when I run:
sudo /etc/init.d/apache2 restart
And in my error logs I see the following message:
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/apc.so' - /usr/lib/php5/20090626+lfs/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 Reply
tdawson
Linode Staff
These errors mean that the current PHP installation has deprecated code and missing libraries.
You might wish to take a look at this blog post, which walks through the steps needed to troubleshoot this.