Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    25

    Default PHP 5 and mySQL 5

    Hello,

    We are currently thinking of upgrading our servers to PHP 5 and mySQL 5 I was wondering should be expect to run into any issues (not with the upgrades) but issues with customers scripts etc>?

    Any advice would be appreciated.

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    18

    Default

    Same question here. Did you get any updates? We are currently running php 4.4.2 and mysql 4.1.

  3. #3
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    any object-orientated php sites will need a look over. - http://uk2.php.net/manual/en/faq.migration5.php

  4. #4
    Member
    Join Date
    Feb 2004
    Posts
    18

    Default

    Thank you for the link.

    My customers are typically running Joomla!, OWL intranet, Mambo, OSCommerce, Webcalendar, SMF among others. Anything that will certainly go broken with the upgrade in such applications?

  5. #5
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    best thing to do is check with each of the scripts homepages/forums to see if they run ok under php5, if you are using oscommerce you will need to put the register_globals back on after the upgrade (unless you have patched it manually) im sure the same would apply to some of the others as well

  6. #6
    Member
    Join Date
    Feb 2004
    Posts
    18

    Default

    OK. Thanks!

  7. #7
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Regarding PHP v5, it is fully backwards compatible with the entire v4 series
    and you should not have any problems whatsoever with any application.

    Most problems you hear about PHP v5 actually have nothing or very little
    to do with PHP v5 and more to do with an administrator trying to run both
    version 4 and version 5 simultaneously which I don't recommend because
    of a number of conflict issues most people are still unaware of.

    Running PHP v5 by itself works great with no problems !!!

    Unfortunately, the same cannot be said with MySQL v5 which is known to have
    a lot of compatible issues with a lot of commonly used applications and a lot
    of popular scripts out there and is a major headache patching those applications
    to get them all to working correctly with MySQL v5.

    For the moment, I would recommend you stay back on the MySQL v4.1 series
    and not upgrade to MySQL v5 unless you absolutely have no other choice.

  8. #8
    Member
    Join Date
    Feb 2004
    Posts
    18

    Default

    Crystal clear! That's exactly what I suspected... I've never had any serious issue with PHP, but MySQL upgrades are always a pain in the neck.

Similar Threads & Tags
Similar threads

  1. upgrade MySQL and php
    By freshorange in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-06-2009, 11:23 AM
  2. apache 1.3 -> 2.2.6 php 4.x -> php 5 & mysql 4 -> 5
    By qwerty in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-05-2008, 09:13 AM
  3. PHP and MySQL
    By bigpy2003 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-14-2006, 03:30 PM
  4. php / mysql
    By stevejac in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-21-2005, 12:29 PM
  5. Some Mysql Databases won't PHP query - PHP 4.3.10
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-26-2005, 03:56 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube