Web Hosting Talk







View Full Version : PHP4 to PHP5 Any major clashes?


duckxtales
10-17-2006, 11:12 PM
Hi,

I am thinking about upgrading my server to PHP 5 from 4. I wanted to make sure what are some of the things that might happen if i do migrate to this. Has anyone has such an experience and what problems might arise?

Thanks,
P@

OnlineRack
10-18-2006, 01:04 AM
I heard it is pretty smooth. Just make sure your panel supports it (hsphere for example needs to be the latest)

FluffyTigger
10-18-2006, 01:11 AM
No problem whatsoever, been using PHP5 for development since 5.0.4. I just turn on the ZE1 compatability for legacy PHP4 and it seem to be pretty smooth, haven't had an application I use break yet.

duckxtales
10-18-2006, 01:00 PM
ok I guess I'll be upgrading then. But im not exactly sure how I can do this.
Do I just submit a ticket to my dedicated server techs and have them upgrade it for me? Or do I have to figure it out myself?

I have access to the WHM section on port 2086 of my server. Is it done through there or through shell access?

And do i need to uninstall php 4 before upgrading?

Thanks,
P@

Olate
10-18-2006, 03:14 PM
If you're running cPanel you can use the apacheupdate script to do this for you.

WHM > Software > Apache Update > select PHP 5.1.6 + any optional modules you want > click Start Build

duckxtales
10-18-2006, 04:53 PM
If you're running cPanel you can use the apacheupdate script to do this for you.

WHM > Software > Apache Update > select PHP 5.1.6 + any optional modules you want > click Start Build

its that easy? no need to uninstall anything before hand?

thx

HostTitan
10-18-2006, 05:07 PM
yes, the process is fairly simple if using cpanel.

duckxtales
10-18-2006, 07:13 PM
ok i gave it a try in the WHM.. and I got this error:

=============================
buildapache configured from Web Host Manager
Apache configured from Web Host Manager!
Invalid Configuration: php-516 blocks install because [MySQL 4.1.19 or 5.0.21 or later required.]

Please correct the conflicts and try again!
=============================

How and where do I goto install this updated MySQL version?

thanks,
pat

bruzli
10-22-2006, 05:28 AM
from WHM select Tweak Settings and choose your Mysql version