Web Hosting Talk







View Full Version : PHP5, so what's not compatable?


Akira_Web
02-12-2005, 06:25 PM
What software hasn't been updated to work with PHP5? I know osCommerce isn't last time I checked, but please post other software that you've found to be incompatable without any modifications.

boonchuan
02-12-2005, 06:31 PM
mySQL right? U need to manually setup, previously it is in built support. Due to some licensing or what issues they stop.

colorteck
02-12-2005, 06:43 PM
Originally posted by Akira_Web
What software hasn't been updated to work with PHP5? I know osCommerce isn't last time I checked, but please post other software that you've found to be incompatable without any modifications.


Right now I believe Cpanel is in testing stage.:) I would definetly wait for everything to work itself out. So many people ask us about 5.0 but when it breaks their website then all of the sudden we are in trouble.:eek: yes I would like to see a list as well.

battye
02-12-2005, 11:57 PM
phpBB isn't compatible, but it can be tweaked to work

shoperotic
02-13-2005, 10:39 AM
All major software are php5 compatible: phpmyadmin, IPB , basically all well-written application.

mr_wuss
02-13-2005, 03:10 PM
Originally posted by shoperotic
All major software are php5 compatible: phpmyadmin, IPB , basically all well-written application.

I wouldn't consider one BB and the standard mysql tool to be pretty much summing up that the world is php5 ready.

shoperotic
02-13-2005, 04:21 PM
IPB and phpmyadmin was only examples, basically ANY application builded in PHP4 must be compatible to PHP5( only one function , related to arrays is changed), and few XML libraries.
In last years i wrote few dozen of applications and ALL are PHP5 compatible, so i really dont understand why is this PHP5 'fobia' .

dkitchen
02-13-2005, 04:29 PM
We've moved to PHP5 on all of our servers, and it hasnt caused too much of a problem..

A lot of the major portals show errors here and there, but they're usually solved by commenting the line in question out - I know it's not professional but generally fixes the problem :)

Host Ultra
02-17-2005, 09:41 PM
Originally posted by boonchuan
mySQL right? U need to manually setup, previously it is in built support. Due to some licensing or what issues they stop.

I installed php5/mysql on several servers and i did not have to do anything different then with php4. The normal --with-mysql worked fine.

Akira_Web
02-23-2005, 03:28 AM
Originally posted by RazorBlue - Dan
We've moved to PHP5 on all of our servers, and it hasnt caused too much of a problem..

A lot of the major portals show errors here and there, but they're usually solved by commenting the line in question out - I know it's not professional but generally fixes the problem :)

Could you name the particular portals that display errors?

concreteman
02-23-2005, 06:58 AM
basically, you will need to update stuff to get it all working. install mysql and edit php.ini (no longer enabled by default). Install new modules for Apache and Zend. Install latest versions of smarty libraries if you have any stuff that uses it. The portals and CMSs often times use smarty and that has fixed our systems. I run a testbed system to try it, before they buy it. Did I miss anything?

Rich2k
02-24-2005, 07:10 AM
For the most part only minor changes are needed, for example if you use array_merge() in PHP 4 you could use two arrays in here even if one of them hadn't been set yet, in PHP5 both must exist before you can use that function.

This basically means you must surround your array_merge function with is_array() checks.

sasha
02-24-2005, 10:01 AM
For some crazzy reason I keep hoping that cpanel people will come up with solution where we will have two paralel php installations and be able to name files .php and .php5 . This is pretty simple thing to do.

Rich2k
02-24-2005, 10:24 AM
Have a read of this (albeit short) answer from the Zend developers. http://www.zend.com/expert_qa/qas.php?id=27&single=1

SupaDucta
02-24-2005, 02:27 PM
phpBB isn't compatible, but it can be tweaked to work

No need, phpBB PHP 5 version exists:

http://phpbb-php5mod.sourceforge.net/

sasha
02-24-2005, 09:20 PM
Originally posted by Rich2k
Have a read of this (albeit short) answer from the Zend developers. http://www.zend.com/expert_qa/qas.php?id=27&single=1

As I said it is very simple thing to do, extra option to configure, couple extra lines in httpd.conf and renaming php cli to php5 so that there is module and cli for each version. Ony problem is that it could get messy attempting to do it on my own on cpanel servers as next cpanel apache build could mess it all up.

Azavia
02-27-2005, 04:32 AM
Also Cerberus helpdesk does not work with php5, but now they release php5 and php4 versions.