Regarding php5.4 and php5.2 compatibility, we have now purchased a new server using windows server 2008 r2.
Configure the php 5.4 Environment
We have previously developed php Version 2003 and php version 5.2. Will the program running be affected when it is transplanted to a new server?
Or what other issues do I need to pay attention?
Reply to discussion (solution)
It is hard to say that it should be okay in general. you should try again first and change it if there is any problem.
There will be some impact
For example, $ names = split (". ", $ name); at 5.3 and above, it must be written as $ names = split ("\. ", $ name); (if you remember this item correctly)
This problem occurs in our current project from 5.2 to 5.3, leading to some functional failures.
There are many other such functions, especially those that are no longer used since 5.3. if they are used in previous projects, they will become invalid or report errors.
It is difficult to troubleshoot these errors one by one. if you have the necessary conditions, you can test the errors in the Test environment before upgrading PHP.
Just now Baidu split is 5.3 and the start is "not recommended"
Http://www.jzxue.com/wangzhankaifa/php/201106/20-7870.html
There are also some "no longer supported...
Http://www.csdn123.com/html/20130206/57/260e1100701e4e99ec9d453a38ded1f1.htm
As for 5.4, I have not carefully read the new manual... and have not found any obsolete functions...
It may be affected. we recommend that you re-maintain the program by referring to the php5.4 manual. Some functions are not recommended for use in 5.4, and the code specification in 5.4 is stricter.
Thank you! it seems that we can still get Version 5.2!
Thank you! it seems that we can still get Version 5.2!
In versions earlier than 5.3.14 or 16, we suggest you upgrade the security vulnerability...