Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2006
    Location
    UK
    Posts
    12

    Default PHP version missing from General Server Information

    Last night I upgraded to PHP 5.1.5 with PHP suexec from PHP 4 (using /scripts/easyapache). All went well and my sites are running nicely.

    However, I have noticed today that the cPanel interface that customers login to, is missing the PHP version in the 'General Server Information' section (it's just blank). This was definitely showing the version info correctly before I upgraded PHP last night.

    The PHP version info is displayed correctly within PHP scripts using phpinfo() and it's ok from 'php -v' in a shell:-

    PHP 5.1.5 (cli) (built: Aug 20 2006 02:51:36)

    I'm using WHM 10.8.0, cPanel 10.8.2-R119, CentOS 4.3 i686.

  2. #2
    Member
    Join Date
    Mar 2006
    Posts
    378

    Default

    try running /scripts/upcp via ssh root
    Tweakservers | Professional Server Setup & Security Hardening
    Authorised SmarterTools Reseller, SSL Certificate & TRUSTe Privacy Policy

  3. #3
    ckh
    ckh is online now
    Member
    Join Date
    Dec 2003
    Posts
    333

    Default

    I had that problem when I updated 4.4.2 to 4.4.3 although everything was working fine and dandy.

    I simply edited /usr/local/apache/conf/php.version

    and entered the php version numbers there as nothing was in there.

    Mine currently has 4.4.4 in there. Looks like you should have 5.1.5 there. Just that, on the first line. After saving the changes it should show up in cpanel.

  4. #4
    Member
    Join Date
    Mar 2006
    Location
    UK
    Posts
    12

    Default

    Thanks guys. I ran /scripts/upcp and that cured the problem.

  5. #5
    Member
    Join Date
    Mar 2006
    Location
    UK
    Posts
    12

    Default

    Well, it just happened again. I had been editing the feature lists from within WHM and when refreshing cPanel customer logins I noticed the PHP version had disappeared once again.

    I remember now that I also made changes to the feature lists yesterday so it seems likely that it's the editing of the feature lists that is causing the PHP version to disappear. I'll test this again later to make sure.

    Anyway, rather than run a whole cPanel update again to cure it, I gave ckh's method a go and it worked fine too. My /usr/local/apache/conf/php.version file was empty, so I just entered 5.1.5 and it was back in my cPanel server info.

Similar Threads & Tags
Similar threads

  1. no version information available (required by /usr/bin/php)
    By golden_eyes in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 11-25-2011, 06:01 PM
  2. cPanel : General account information
    By lvt in forum cPanel Developers
    Replies: 9
    Last Post: 06-01-2009, 02:17 PM
  3. How do i remove the General server information?
    By punjabipredator in forum New User Questions
    Replies: 11
    Last Post: 09-28-2006, 07:59 PM
  4. General account information data
    By Shane_F in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-09-2006, 09:58 AM
  5. Getting the General account information on another site.
    By jarandm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-19-2005, 09:35 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube