View Full Version : PHP4 or PHP5?
Hey,
I was wondering if I should stick to PHP4 or move to PHP5 completely. Just wondering what you guys think and if you have support for PHP5 on your server?
PHP5 comes with alot of extra features (SimpleXML, Better OOP, etc.) that lets PHP4 down. Also PHP5 will be discontinued at the end of this year.
Please vote and post comments below ;D
To mods: Don't even bother moving it to the coding section because I want feedback about the support as well ''/
Thanks,
Tom
Sygon..
15-07-2007, 01:08 PM
support for both?
Jinxey
15-07-2007, 01:16 PM
Well ive always used PHP 4 on my server, partly because when i upgraded to php5 i some how managed to break php all together, so i went back to 4 and never tried going back to 5 again.
The only way you can have support for both is have two different versions or just use PHP4 lol :p
support for both?
Most of the pro open-source coders will move onto PHP5 from Feb 2008*. So code it in PHP4 from now.
*Source from SitePoint, not the exact works
Dentafrice,
15-07-2007, 05:17 PM
I usually stick to PHP4, will probably move to PHP5 before the end of the year
timROGERS
15-07-2007, 06:24 PM
I suggest that you install PHP 4 and PHP 5 side-by-side. All you need to do is have PHP4 running as default, and then set up a handler in a HTACCESS to make it run .php5 files with the PHP5 engine. If you need the HTACCESS to do this, ask me on MSN ;)
VistaBoy
16-07-2007, 02:29 AM
Hey,
I was wondering if I should stick to PHP4 or move to PHP5 completely. Just wondering what you guys think and if you have support for PHP5 on your server?
PHP5 comes with alot of extra features (SimpleXML, Better OOP, etc.) that lets PHP4 down. Also PHP5 will be discontinued at the end of this year.
Please vote and post comments below ;D
To mods: Don't even bother moving it to the coding section because I want feedback about the support as well ''/
Thanks,
Tom
Do you mean Also PHP4 will be discontinued at the end of this year.
Do you mean Also PHP4 will be discontinued at the end of this year.
Oops yeah.. a little typo :P
Mentor
16-07-2007, 12:18 PM
i use php5, just as i like the better oop features it brings. Other than some exstra stuff though theres VERY little difference between them, i was able to move thybag in its entirety from php4 to 5 with only a few incredibly minor edits and on most parts none at all.
Becuse php5 has everything of 4 pretty much and more, it seems kinda pointless keeping 4 around, apparnly php4 is still installed on the server i use in addition to 5 but i see no reason to revert "/
Sunny.
16-07-2007, 03:49 PM
I always use PHP 4 =]
Heinous
17-07-2007, 05:21 AM
i use php5, just as i like the better oop features it brings. Other than some exstra stuff though theres VERY little difference between them, i was able to move thybag in its entirety from php4 to 5 with only a few incredibly minor edits and on most parts none at all.
Becuse php5 has everything of 4 pretty much and more, it seems kinda pointless keeping 4 around, apparnly php4 is still installed on the server i use in addition to 5 but i see no reason to revert "/
Pretty much the exact same for me.
I use php5 primarily (testing locally = php5, testing on my host = php5), but at the same time I have access to php4 on both as well, but I see no reason to stick to php4 anymore.
I say start using php5.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.