pickachu Posted October 25, 2008 Share Posted October 25, 2008 i was asked to develop a site using php 4 and i am not use to programming with the said version, im more into php 5.. so my question is, what are its difference? will it have a big toll on my project? Link to comment https://forums.phpfreaks.com/topic/130121-php-4-question/ Share on other sites More sharing options...
DarkWater Posted October 25, 2008 Share Posted October 25, 2008 PHP4 is outdated, and its end-of-life support was almost a year ago (as far as I remember, it was December '07, but I could be mistaken). No server should really be using it anymore. I'd convince your employer to upgrade their servers. Link to comment https://forums.phpfreaks.com/topic/130121-php-4-question/#findComment-674734 Share on other sites More sharing options...
pickachu Posted October 25, 2008 Author Share Posted October 25, 2008 it hosted using yahoo! small business which runs php 4 and mysql 4.. is the changes really that much?? Link to comment https://forums.phpfreaks.com/topic/130121-php-4-question/#findComment-674743 Share on other sites More sharing options...
DarkWater Posted October 25, 2008 Share Posted October 25, 2008 PHP4 and MySQL4 are both seriously old. I would tell him to get a better hosting company, no offense. I would never host with Yahoo. I'd host with a company that's ONLY for hosting, like hostgator.com or bluehost.com. EDIT: And yeah, there are some pretty big changes, depending on what you're doing. Link to comment https://forums.phpfreaks.com/topic/130121-php-4-question/#findComment-674745 Share on other sites More sharing options...
pickachu Posted October 26, 2008 Author Share Posted October 26, 2008 yeah.. i agree but the problem is they already purchased an account there.. I hope it wont be too much for simple transactions Link to comment https://forums.phpfreaks.com/topic/130121-php-4-question/#findComment-674748 Share on other sites More sharing options...
DarkWater Posted October 26, 2008 Share Posted October 26, 2008 They can switch hosts (fairly) easily... >_< What are you going to be doing on the site? Link to comment https://forums.phpfreaks.com/topic/130121-php-4-question/#findComment-674749 Share on other sites More sharing options...
PFMaBiSmAd Posted October 26, 2008 Share Posted October 26, 2008 If you run really fast and hit the wall with your head so you forget the php5 specific things like new OOP syntax and new functions that have been added, you should do all right. If you must develop php4 only code, setup a development system using that version and make sure error_reporting is set to E_ALL and display_errors is set to ON so that php will help you by pointing out any functions or syntax you are using that is not present in php4. Use the current "recommended" php.ini settings to make sure you are not using any depreciated features that would require changes when moving the code to a php5 or php6 system. Link to comment https://forums.phpfreaks.com/topic/130121-php-4-question/#findComment-674750 Share on other sites More sharing options...
DarkWater Posted October 26, 2008 Share Posted October 26, 2008 If you run really fast and hit the wall with your head so you forget the php5 specific things like new OOP syntax and new functions that have been added, you should do all right. If you must develop php4 only code, setup a development system using that version and make sure error_reporting is set to E_ALL and display_errors is set to ON so that php will help you by pointing out any functions or syntax you are using that is not present in php4. Use the current "recommended" php.ini settings to make sure you are not using any depreciated features that would require changes when moving the code to a php5 or php6 system. I lol'd. Link to comment https://forums.phpfreaks.com/topic/130121-php-4-question/#findComment-674751 Share on other sites More sharing options...
pickachu Posted October 26, 2008 Author Share Posted October 26, 2008 looks like il be spending more time converting php 5 code.. just a Content Management Site.. Link to comment https://forums.phpfreaks.com/topic/130121-php-4-question/#findComment-674753 Share on other sites More sharing options...
PFMaBiSmAd Posted October 26, 2008 Share Posted October 26, 2008 I tried putting an external brick wall/banging head smiley, but we cannot insert images into posts. Maybe as an attachment - [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/130121-php-4-question/#findComment-674756 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.