Re: PHP4 to PHP5 upgrade help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike wrote:
>
> I want to upgrade my server from PHP 4.3.10 to PHP 5.0.4, however, many of
> my clients run scripts that will break if I do.
>
> The main problem seems to be 'classes'.
>
> Is there a way to put a band-aid on these scripts that will allow them to
> function when I upgrade?
>

If the main problem is classes then you might try changing your php.ini
(note that this will only be in PHP5):

zend.ze1_compatibility_mode = 1;

http://php.net/manual/en/ini.core.php#ini.zend.ze1-compatibility-mode

--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux