PDA

View Full Version : PHP 5 and MySQL 5 Upgrades - IMPORTANT INFO



Snowman
20-07-2006, 01:42 PM
As some of you know we have been progressively upgrading PHP and MySQL on all servers.

Hotham's turn will be this weekend on Saturday evening at around 8pm AEST

PHP will be upgraded to PHP5 version 5.1.4

MySQL will be upgraded to MySQL version 5.0.21

These upgrades are long overdue and have been held off till now to allow eveyrone to have the chance to ensure their sites are uptodate

Please ensure any scripts youre running are uptodate with the latest security fixes and patches to ensure that your site doesnt have any issues after these upgrades have taken place.

If you are unsure on whether your sites scripts are compliant wiht MySQL5 and PHP5 check with your scripts developers or if your still unsure drop in a ticket to the Helpdesk and we can help you.

Ozlander
21-07-2006, 08:57 AM
Just wondering if you had considered running php4 alongside php5 to avoid breaking clients' applications? Like the three most used scripts phpBB, Drupal and Oscommerce are the main ones broken in php5 so a lot of users are going to be disadvantaged.

When running both together the user who wishes to force php5 need only add two lines to a htaccess file to do so. ie:

AddType application/x-httpd-php5 .php
AddHandler application/x-httpd-php5 .php

Cheers

Snowman
21-07-2006, 12:17 PM
No im afraid its not that simple

While php4 and 5 can be run on the server it causes to many issues, and we can only run one of them under phpsuexec.

Running without phpsuexec is not an option for us based on our position on server security

osCommerce will run fine if the security patch from November last year is applied. (it should be applied anyway to prevent any possibility of the script being hacked)

phpBB runs fine under php5 and mysql5

Drupal has a php5/mysql5 version out as well

Snowman
22-07-2006, 07:02 PM
MySQL and PHP upgrades and a recompile of apache are now underway and should take around 40 minutes to complete

ther emay be a very brief interruption to http during the process while the new apache compile is reloaded

Once the upgrades are done a security audit and update is going to be carried out as well

Snowman
22-07-2006, 08:01 PM
PHP is proving to be a bit tempermental

Im still workign on the update.

http is up and runnign as is mysql and im still compiling PHP

Snowman
22-07-2006, 09:08 PM
The upgrades are now complete and all services are operating normally

If anyone has any issues from the upgrade please drop a ticket into the helpdesk and we can take a look

Snowman
22-07-2006, 09:21 PM
Just put the server in for a quick reboot to reset some exim processes that were causing high loads

services will be restored in a couple of minutes