nex1234 Posted July 7, 2008 Share Posted July 7, 2008 I wrote several pages of script using PHP version 4.3.10. I now need to update and run the script on PHP version 5.2.5. However, after installing the newer version some of the script works and some does not. There a lot of code so I won't post at this time. But I was wondering if anyone could provide maybe a basic explanation of the possible conflicts/causes for errors. Thanks Link to comment https://forums.phpfreaks.com/topic/113611-php-version-confict/ Share on other sites More sharing options...
craygo Posted July 7, 2008 Share Posted July 7, 2008 you may have extensions that were installed on php 4 that are not on in php 5. Check all your extension or get the ones you need and activate them. One example is mysql. mysql extension is not on by default in php 5 you have to uncomment the line in php.ini and make sure the extension is in the extensions folder. Ray Link to comment https://forums.phpfreaks.com/topic/113611-php-version-confict/#findComment-583768 Share on other sites More sharing options...
kenrbnsn Posted July 7, 2008 Share Posted July 7, 2008 Using short tags "<?" instead of long tags "<?php" Assuming that register_globals are enabled. If you use classes, there are some differences. Your best bet is to check the fine manual. Ken Link to comment https://forums.phpfreaks.com/topic/113611-php-version-confict/#findComment-583769 Share on other sites More sharing options...
nex1234 Posted July 7, 2008 Author Share Posted July 7, 2008 Thank you craygo I'll try that. Link to comment https://forums.phpfreaks.com/topic/113611-php-version-confict/#findComment-583771 Share on other sites More sharing options...
nex1234 Posted July 7, 2008 Author Share Posted July 7, 2008 Thanks kenrbnsn, I'll look into that as well. Link to comment https://forums.phpfreaks.com/topic/113611-php-version-confict/#findComment-583775 Share on other sites More sharing options...
PFMaBiSmAd Posted July 7, 2008 Share Posted July 7, 2008 Turning on full php error reporting (E_ALL) and setting display_errors = On in php.ini will get php to help by pointing out problems it finds. Link to comment https://forums.phpfreaks.com/topic/113611-php-version-confict/#findComment-583818 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.