Update PHP to 5.6.27 with EasyApache4. Running PHP-FPM

dogdog

Member
Oct 13, 2016
6
1
3
London, UK
cPanel Access Level
Root Administrator
Yesterday I got an email from CPanel advising me to upgrade to PHP 5.6.27. I upgraded EasyApache4 to the latest version today then removed an old version of PHP in the PHP configuration settings, in the hope that EasyApache would upgrade my PHP 5.6.26 installation to 5.6.27.

However I still seem to be running PHP 5.6.26. (When I put a php file with the PHPInfo() function on any of my domains it tells me that PHP 5.6.26 is still running.)

I have PHP-FPM running on all my domains. Am I missing a step, please?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
77
458
cPanel Access Level
Root Administrator
If you restart the FPM process (/scripts/restartsrv_apache_php_fpm) do you get the correct PHP version?
 

dogdog

Member
Oct 13, 2016
6
1
3
London, UK
cPanel Access Level
Root Administrator
I've just realized that the build date for PHP, as listed in the output of the phpinfo() function, is 3 weeks ago. From what I've read on here the only way to force a rebuild of PHP in EA4 is to remove the PHP version then add it again later, but I have installed a few extra PHP modules so I don't want to have to recreate the same build later if I can avoid this drastic step. Are there any other options?
 

cPStacy

Technical Writer
Staff member
Jul 23, 2014
144
22
93
cPanel Access Level
Root Administrator
The EasyApache 4 RPMs did not go out yesterday. We updated EasyApache 3, but not EasyApache 4.

We're expecting to push the EA4 RPMs later this afternoon.

When the update is available, we'll post both here on the forum, and in the change log: EasyApache 4 Change Log - EasyApache 4 - cPanel Documentation

Sorry for the confusion!
 

dogdog

Member
Oct 13, 2016
6
1
3
London, UK
cPanel Access Level
Root Administrator
OK that explains it. Someone there sent out an email yesterday with the following line:
"SUMMARY
cPanel, Inc. has released updated RPMs for EasyApache 4 on September 20, 2016, with PHP versions 5.6.27 and 7.0.12."
So you can understand why I thought I should have PHP 5.6.27.
 

cPStacy

Technical Writer
Staff member
Jul 23, 2014
144
22
93
cPanel Access Level
Root Administrator
OK that explains it. Someone there sent out an email yesterday with the following line:
"SUMMARY
cPanel, Inc. has released updated RPMs for EasyApache 4 on September 20, 2016, with PHP versions 5.6.27 and 7.0.12."
So you can understand why I thought I should have PHP 5.6.27.
Oh, absolutely!

We DID originally plan to release it yesterday but had to delay it another day. Evidently our email blast system didn't fully cancel the scheduled email like it was supposed to. Sorry for the inconvenience there!
 
  • Like
Reactions: dogdog