Jump to content

scripts written in php4


jimath

Recommended Posts

in your php.ini file, you have to set the default php version (php5 is the way to go), and you can use most of php4's functionality on 5. it would be wise though to look at the conversion table to see what changes you would need to make to a php4 script so that it is compatible with php5.

php5 is backwards compatible with php4. However this will only work if your php4 scripts does not rely on depreciated php settings such as register_globals.

 

Before upgrading php4 run phpinfo() and save the outputted html code to an external .html file call this php4info.html then when you upgrade php to php5 compare php4info.html to php5 configuration when you run phpinfo() on your php5 setup.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.