I have a site http://tinyurl.com/ylrbzlg and I am being told where it's hosted that PHP4 support is going away and the site has to be changed to PHP5. Can someone tell me what all that means? I had the site custom made and no idea what would have to be changed to make it compatible with PHP5. Thks
there are certain functions in php4 which have been replaced by new php5 is much faster and stable now a days all servers using php5 Regards Alex
Most of your functions will remain the same. Turn off error display (if it's turned on) and have all errors sent to an error log behind the scenes (look up custom error handlers). Most often, it's regex statements that will cause problems. ereg has been replaced with preg. Your ereg will still work, but it'll give an error every time it's called (stating that it's been deprecated). There are other functions that might fail, depending on how deep into PHP's features your site went, but the most common stayed the same (if/then/else, sessions/cookies, switch/case, variables, file handling, DB functions).