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.

cPanel not detecting PHP and MySQL versions properly

Discussion in 'General Discussion' started by The WebDruid, Feb 14, 2007.

  1. The WebDruid

    The WebDruid Member

    Joined:
    Sep 1, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I've just recently gotten a server installed with CentOS 4.4 and put cPanel on it.

    I attempted an upgrade from MySQL 4 to 5, but cPanel still thinks that it's got 4.1.21-standard installed. phpMyAdmin says different. I've tried mysqlup several times (including the --force option sometimes too), but it still thinks that it's on 4.1.

    PHP was also upgraded to 5.2.0 with phpsuexec, it works, but cPanel can't detect the version that is installed.

    [​IMG]

    Has this happened to anyone else? Is there any easy fix for this?


    Thanks heaps,

    Andrew
     
  2. alankru

    alankru Member

    Joined:
    Jan 2, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I had the same problem, but looking at it now, it seems to have corrected itself. I think when I had the problem, it only had the problem on 1 skin only. I am not quite sure as I can't remember exactly.
     
  3. mambovince

    mambovince Well-Known Member

    Joined:
    Jan 15, 2005
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    London, UK
    Hello,
    I had similar issue.

    The Mysql details displaying in the cpanel are stored in
    .cpanel-datastore/_usr_sbin_mysqld_--version inside the user home directory and for some reason the file is not always updated. We had to remove the file "_usr_sbin_mysqld_--version" for all the users. The file will be automatically created when you access the cpanel.

    - Vince
     
  4. The WebDruid

    The WebDruid Member

    Joined:
    Sep 1, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    That seemed to fix the MySQL problem, but it still can't detect what PHP version is running.


    Thanks again,

    Andrew
     
  5. The WebDruid

    The WebDruid Member

    Joined:
    Sep 1, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Looks like it works now. I wonder what fixed it!
     
Loading...

Share This Page