pabloron

Registered
May 17, 2006
4
0
151
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
 

casey

Well-Known Member
Jan 17, 2003
2,288
0
191
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.
 

pabloron

Registered
May 17, 2006
4
0
151
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
 

Imago

Well-Known Member
Feb 21, 2004
45
0
156
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.
 

freedog96150

Well-Known Member
Mar 25, 2005
68
0
156
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:
[email protected]# /scripts/upcp --force
[email protected]# /scripts/easyapache
Running easyapache from the prompt does sometimes work better than using the Update Apache function in WHM...at least for me!!
 

Imago

Well-Known Member
Feb 21, 2004
45
0
156
Still it does not give php5. Probably have to do it with portupgrade.
 

mmatos

Member
Dec 9, 2006
9
0
151
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.
 

mmatos

Member
Dec 9, 2006
9
0
151
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.
 

aaron_guitar

Registered
Jan 23, 2004
1
0
151
I'm sure this is answered somewhere on here, but I can't seem to find it. Is PHP5 officially supported with cPanel?