Jump to content
The Uniform Server Community

Windows dates PHP 5.1


Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...