|
| |
|
 | 4739814 | Jan 23, 8:35am | UPDATED (just thought I'd let you know) is code written in php v4 and running it in a php5 environment safer/more secure than running it in a php4 environment?
UPDATE (13.02.08)
ok, i've done some research on this issue and even with a simple google it appears to me to be an important one, so i want to add to my post.
the answer appears to be a 'yes'. however, there are a number of points to consider. the php.ini files are different for each version and they use different extensions which can result in unexpected errors and results when using php's more advanced features. the article blog.case.edu/gps10/2007/04/29/so_many_untapped_php_features provokes a lot of thought on this point and encourages the developer to use its more advanced features, thus adding to its security.
it appears that running php4 is faster than version 5 stanford.edu/index.php/Projects
but this HOST internetconnection.net/php runs a php5 environment and states that "For instance - websites built with PHP3, can be ran securely on [their] server"
the reason i find this issue (and it is an issue) important is because i update a lot of sites written in older versions of php5 and i'm never sure whether to suggest to them to upgrade their environment to version 5. this is a difficult decison because to ensure the site remains secure and runs properly it sometimes requires stripping out some of their old code in favour of more up-to-date class usage.
my concluson (so far at least) is.. so long as the developer has written in 'strict php4' there is no cause to worry, but i think it can be time consuming appending a dozen operands to a script when there are later, simpler ones available.
i would like to add that i myself am not an advanced developer. |
|
| 
| moookid | Feb 14, 4:41am | I'd be inclined to take the "if it's no broke dont' fix it" attitude..
If your business requirements are pushing you towards php5 then your only realistic option is to do extensive tests first before migration. |
| |
| You need to Sign-up for StumbleUpon to post to this forum
| |
|