The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Easy Apache finding out previous PHP version

Discussion in 'EasyApache' started by ahoychris, Oct 15, 2013.

  1. ahoychris

    ahoychris Member

    Joined:
    Jul 10, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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.
     
  2. ahoychris

    ahoychris Member

    Joined:
    Jul 10, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Sorry, versions 5.4, 5.3 and 5.2, I'm not running php version 3's
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can browse to the following directory:

    Code:
    /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.
     
  4. ahoychris

    ahoychris Member

    Joined:
    Jul 10, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The "env" files will not be of much help to you. You will want to review the actual build logs. EX:

    Code:
    /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.
     
  6. ahoychris

    ahoychris Member

    Joined:
    Jul 10, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page