Re: PHP4 to PHP5 upgrade help
| From: | Jason Barnett | Date: | Thu, 21 Apr 2005 13:41:03 +0000 |
| Subject: | Re: PHP4 to PHP5 upgrade help | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213564@lists.php.net to get a copy of this message | ||
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: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc