johnner Posted November 27, 2005 Report Posted November 27, 2005 Great program. Php seems to have problems with dates prior to 1970 when running under Windows. Php version 5.1 has had the date functions rewritten, resolving the problem. Does anyone know how to upgrade php in uniformserver to php 5.1? Thank you. Quote
olajideolaolorun Posted November 27, 2005 Report Posted November 27, 2005 It is recommended that you wait till 3.3 which should be out the first or second week of December. It will come with PHP 5.1 which is what we have mainly been waiting for. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team
cabra Posted November 27, 2005 Report Posted November 27, 2005 Does anyone know how to upgrade php in uniformserver to php 5.1? Thank you. I replaced the php.exe and copied all DLLs. I think the biggest problem is the php.ini. I used WinMerge to merge the old ini file with the new 5.1 one. The first think you have to do is setting the default date in the ini or with ini_set(), or you will always get an error when you use a time function. See php.net for the allowed values... Other problems: - mktime() without parameters (current server time) causes an error. it has to be replaced with time()- if you use mktime() with the last parameter for the DST time, this will also cause an error Quote
johnner Posted November 27, 2005 Author Report Posted November 27, 2005 It is recommended that you wait till 3.3 which should be out the first or second week of December. It will come with PHP 5.1 which is what we have mainly been waiting for.1948[/snapback] Thank you very much. I'll wait for 3.3. Quote
olajideolaolorun Posted November 27, 2005 Report Posted November 27, 2005 Great Quote Best Regards Olajide Olaolorun The Uniform Server Development Team
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.