PHP 4 or PHP 5?

watsonalgas

Joined: 2005-02-01
Posts: 52
Posted: Sun, 2005-05-22 04:45

Quick question:

My server offers both PHP 4.3.11 and PHP 5.0.4, is one recommended more than the other for G2?
----

Gallery URL (optional):
Gallery version:
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):

 
cnmuranjan
cnmuranjan's picture

Joined: 2005-05-17
Posts: 39
Posted: Sun, 2005-05-22 05:27

I insist to use PHP 4 only...

Becoz PHP 4 is far more stable than PHP 5, atelast with IIS...
I ddnt try with other servers, but IIS givem me err with ISAPI filters and mail function is disabled as a case of IIS..

Finally choice is urs...

If u want to fight, dont wait...

regards,

-- Chinmay

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2005-05-22 06:58

G2 runs on both PHP4 and PHP5 equally. Our unit test suite runs about 40% faster on PHP5 than PHP4. This is far from a perfect measurement of performance, but I think it's safe to say that PHP5 is going to be faster than PHP4.