EchoHost

Well-Known Member
Jul 27, 2003
52
0
156
I just tried to upgrade to 5.0.16 but it gave me a error saying i can't due it due to a conflict with mysql 4.

Can I not upgrade to PHP 5 while using MySQL 4?

BTW which PHP build do you guys recommend?
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
what's the actual error that you are getting? Can you paste it here?

I have tried upgrading some of our user's Cpanel box previously to PHP 5.1.6 with mySQL 4.1.21 with no issues.
 

EchoHost

Well-Known Member
Jul 27, 2003
52
0
156
I got a bit freaked out and just rebuuilt it back to 4.x.x I'll try again tonight (during non busy eriods) and i'll copy paste the error but it mentioned a uncompatability with the mysql i have installed
 

jayh38

Well-Known Member
Mar 3, 2006
1,213
0
166
Its due to mysqli, It seems there are certain versions of mysql that will allow the upgrade work fine. I usually downgrade to mysql 4.1.13 first and then you can compile any apache config you like without trouble.
 

jayh38

Well-Known Member
Mar 3, 2006
1,213
0
166
Yes, I should have mentioned i do run mysqlup --force after recompiling and it shoves it back to the latest without trouble.
 

jayh38

Well-Known Member
Mar 3, 2006
1,213
0
166
I was already on 4.1 so I just downloaded the 4.1.13 rpm and -Uvh. After that I just recompiled with easyapache

wget http://downloads.mysql.com/archives/...ibc23.i386.rpm
rpm -Uvh --force MySQL-devel-4.1.13-0.glibc23.i386.rpm

then after the build, i forced the mysql upgrade after things were
verified working.
/scripts/mysqlup --force

Now, if you are running mysql 5, I would suggest another method of downgrading
via the control panel.

Be sure to have full backups of everything before trying this.