I recently upgrade my PHP 5.5 installation to version 5.6. The upgrade completed successfully (I assume) as the php version returned when viewed via
php -v is:
However, when I try to spin up my page I get the following error in chrome:
The examplesite.com page isn’t working
examplesite.com is currently unable to handle this request. HTTP ERROR 500
I checked the Apache error logs and found this:
[Tue Oct 04 07:39:58.570181 2016] [:notice] [pid 16890] FastCGI: process manager initialized (pid 16890)
[Tue Oct 04 07:39:58.570420 2016] [mpm_prefork:notice] [pid 1187] AH00163: Apache/2.4.20 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Tue Oct 04 07:39:58.570434 2016] [core:notice] [pid 1187] AH00094: Command line: '/usr/sbin/apache2'
[Tue Oct 04 13:54:46.291520 2016] [mpm_prefork:notice] [pid 1187] AH00169: caught SIGTERM, shutting down
These same lines appear 3 or 4 times, though not when I access a page, only when I run the following commands:
sudo service apache2 reload sudo service apache2 restart
I upgraded my PHP installation by following the advice from this post.
I ran the following commands to complete the upgrade:
sudo apt-get update sudo apt-add-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php5.6 sudo apt-get update sudo apt-get upgrade sudo service apache2 reload sudo service apache2 restart
Any advice on what I did wrong?