Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    4

    Default php5 in cPanel

    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. #2
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    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. #3
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Quote Originally Posted by pabloron
    Hello,

    I Have other people come across this problem?
    Tried searching the forums?

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    4

    Default

    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. #5
    Member
    Join Date
    Feb 2004
    Posts
    49

    Default

    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. #6
    Member
    Join Date
    Jul 2004
    Posts
    496

    Default

    I recently upgraded mysql too, but it gave me 5.027 (standard) so maybe you need to upgrade mysql again ?

  7. #7
    Member freedog96150's Avatar
    Join Date
    Mar 2005
    Location
    Nevada, USA
    Posts
    68

    Default

    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!!
    **********************
    Brian Frias
    "Without fear, there is no
    courage"
    **********************

  8. #8
    Member
    Join Date
    Feb 2004
    Posts
    49

    Default

    Still it does not give php5. Probably have to do it with portupgrade.

  9. #9
    Member
    Join Date
    Aug 2004
    Posts
    472

    Default

    run /scripts/easyapache --force from shell and select php5 from the list. Save the apache conf file and compile it.

  10. #10
    Member
    Join Date
    Dec 2006
    Posts
    9

    Default

    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. #11
    Member
    Join Date
    Dec 2006
    Posts
    9

    Default

    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. #12
    Registered User
    Join Date
    Jan 2004
    Posts
    1

    Default

    I'm sure this is answered somewhere on here, but I can't seem to find it. Is PHP5 officially supported with cPanel?

Similar Threads & Tags
Similar threads

  1. How to php4 and php5 (.php5) in same server?
    By strikinado in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-09-2007, 11:01 AM
  2. PHP5 cPanel + WHM
    By digital-warfare in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-15-2006, 04:04 PM
  3. cpanel and php5
    By smartsley in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-28-2004, 04:29 AM
  4. is cPanel going to update to php5?
    By jimmysole in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 03-31-2004, 02:38 AM
  5. Is cpanel ready for php5 yet?
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-05-2004, 01:15 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube