Easy Apache finding out previous PHP version
This morning I installed a new PHP module with EasyApache. Previously when using Easy Apache I have used it right after setting up a server so I selected the default versions of Apache and PHP.
However this time it appears the default version of PHP has changed, now being set to 3.4. This has caused some PHP warnings to pop on on some of my sites, while I have them turned off I want to go back to the last version of PHP that was being run. Problem is I'm not sure if it was 3.2 or 3.3.
Problem is I@m not sure which version it was. Is there a way to check what the last version was? I saw a message saying a backup has been made but I am unable to find it.
-
Sorry, versions 5.4, 5.3 and 5.2, I'm not running php version 3's 0 -
Hello :) You can browse to the following directory: /usr/local/cpanel/logs/easy/apache
You will find older EasyApache build logs here. You can view the one with the date of your previous build and look at the section where PHP was built to see which version was used. Thank you.0 -
Thanks, I've been looking through the files in the folder, but I don't seem be be bale to find anything in there about php. Just a lot of info about the server and my machine doing the build. 0 -
The "env" files will not be of much help to you. You will want to review the actual build logs. EX: /usr/local/cpanel/logs/easy/apache/build.1380730805
If you grep the build log for a term such as "PHP", you will get output that should be helpful. Thank you.0 -
Thank you, I managed to find some useful information. Unfortunately I only have non .env fields from today, it appears I have no logs for my earlier uses of Easy apache. 0 -
If downgrading your PHP is necessary, you may simply want to go with PHP 5.3. PHP 5.2 is EOL and will be removed from EasyApache in the near future. Thank you. 0
Please sign in to leave a comment.
Comments
6 comments