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.

php5 in cPanel

Discussion in 'General Discussion' started by pabloron, May 31, 2006.

  1. pabloron

    pabloron Registered

    Joined:
    May 17, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I recently upgraded to MySQL 5.0.18 via cPanel (with help of PowerVPS support). I need to upgrade to PHP 5.x, but cPanel has a restriction that will not allow an upgrade to PHP5.x unless the MySQL version is 5.0.21 or greater. Have other people come across this problem? Any advice or suggestions about how to upgrade PHP and/or MySQL? My version information (for cPanel) is as follows:

    WHM 10.8.0 cPanel 10.8.2-R83
    CentOS 4.3 i686 - WHM X v3.1.0

    Thanks in advance for your help,
    Paul
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    You have two options:

    1) Upgrade to Edge and be automatically upgraded to 5.0.21
    2) Wait for 5.0.21 to be added to the other builds

    You could, of course, do it yourself via rpm or source, but it's not recommended.
     
  3. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    Tried searching the forums? :rolleyes:
     
  4. pabloron

    pabloron Registered

    Joined:
    May 17, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    OK so Edge is cPanel 10.8.2 - I'm now in the process of trying to upgrade to that. Thanks for your suggestion - it's helpful to know that MySQL 5.0.21 comes with that distribution.

    As to the question "Tried searching the forums" - the answer, unfortunately, is yes, extensively. That is the reason for my post. If you have in mind any specific posts that you think might be helpful, I'd appreciate a link to them.

    Thanks,
    Paul
     
  5. Imago

    Imago Active Member

    Joined:
    Feb 21, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    No matter how I upgrade MySQL, WHM keeps prohibiting upgrade to php5

    + Version 4.3.11
    + Version 4.4.1
    + Version 4.4.2
    + Version 4.4.3
    + Version 4.4.4
    X Version 5.0.4 (Disabled: MySQL 5.0.21 or later required. )
    X Version 5.0.5 (Disabled: MySQL 5.0.21 or later required. )
    X Version 5.1.2 (Disabled: MySQL 5.0.21 or later required. )
    X Version 5.1.4 (Disabled: MySQL 5.0.21 or later required. )
    X Version 5.1.6 (Disabled: MySQL 5.0.21 or later required. )
    X Version 5.2.0 (Disabled: MySQL 5.0.21 or later required. )

    And this is only in cPanel @ FreeBSD.
     
  6. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I recently upgraded mysql too, but it gave me 5.027 (standard) so maybe you need to upgrade mysql again ?
     
  7. freedog96150

    freedog96150 Well-Known Member

    Joined:
    Mar 25, 2005
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Nevada, USA
    This is strange as I am running php5 in the release version of cPanel. I am running WHM 10.8.0 cPanel 10.9.0-R76.

    Maybe you should try running the following from a prompt (SSH) as root:

    Code:
    root@server# /scripts/upcp --force
    root@server# /scripts/easyapache
    Running easyapache from the prompt does sometimes work better than using the Update Apache function in WHM...at least for me!!
     
  8. Imago

    Imago Active Member

    Joined:
    Feb 21, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Still it does not give php5. Probably have to do it with portupgrade.
     
  9. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    run /scripts/easyapache --force from shell and select php5 from the list. Save the apache conf file and compile it.
     
  10. mmatos

    mmatos Member

    Joined:
    Dec 9, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Has anyone gotten this to work on FreeBSD 5.5? There is an install issue. I bet there is a bug in WHM that only gives the install option if MySQL is EXACTLY 5.0.21...but I don't know how to fake a version number to test for this.
     
  11. mmatos

    mmatos Member

    Joined:
    Dec 9, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Gotta be kidding me. I'd tried EDGE before and it didn't work...

    So I did this:
    I did a /scripts/cpup --force

    Then, I changed to EDGE again and did upgrade. Now I have options for Apache 2 and PHP5.
     
  12. aaron_guitar

    aaron_guitar Registered

    Joined:
    Jan 23, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I'm sure this is answered somewhere on here, but I can't seem to find it. Is PHP5 officially supported with cPanel?
     
Loading...

Share This Page