PDA

View Full Version : Beta PHP5 Support


Staff
10-23-2004, 02:30 PM
I finished testing PHP 5.0.2 support under dsm. At this point I want to release to the community a script to update your systems to PHP 5.0.2

A side effect of this upgrade is also updating your system to MySQL 4. MySQL 4 has been in use on a large number of dsm servers in production for quite some time, however it was never released as a general dsm update. For those of you that may have installed mysql 4 using rpms from mysql on your own, this update will not break your mysql servers (I tested it on a few existing mysql 4 installs without issue).

The reason that I had to push mysql 4 out in the same update is because php 5 no longer bundles the mysql client library in the source.

With that said, please keep in mind that this is a beta release. I've made every effort to test for all the things I can think of. I have not seen a major issue in any of the updates that cannot be resolved in a few moments. The updater makes backups of each file before it changes them and it takes a snapshot of your rpm database ("rpm -qa") right before it starts the update incase you need to rollback for any reason.

The script is located at http://www.zervex.com/~adam/installphp5

You can download and run the script using the following commands


wget http://www.zervex.com/~adam/installphp5
chmod 700 installphp5
./installphp5


I'm interested in all the feedback I can get on this one, if all goes well and we get some positive feedback I'll see about adding an interface method to complete this install.

The PHP Group put together a list of changes that are backward incompatible from PHP4 (http://www.php.net/manual/en/migration5.incompatible.php). Its worth reading before you upgrade.

Staff
10-25-2004, 11:56 AM
Released new PHP5 rpms to deal with an problem with pear support, current release is 5.0.2-6 and those already using php5 can upgrade by running "yum update dsmphp" from the command line