PHP 5.4.11 and 5.3.21 were released on January 17, 2013. There have been quite a few changes since PHP 5.4.8 and 5.3.18. The complete official changelog can be found here. I believe PHP 5.4.12 and 5.3.22 will be released soon and I will try to compile and post them as soon as they are released.
Anyway, as promised, here are the 64 bit builds of PHP 5.4.11 and 5.3.21 for Windows. As usual they were compiled with Visual C++ 2008 (VC 9). And I have compiled them against newer versions of ICU (50.1.2), libjpeg (9), libpng (1.5.14), freetype (2.4.11), curl (7.29.0), libssh2 (1.4.3), libxslt (1.1.28) and openssl (1.0.1d).
PHP 5.4.11 (Thread Safe)
php-5.4.11-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)
PHP 5.4.11 (Non Thread Safe)
php-5.4.11-nts-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)
PHP 5.3.21 (Thread Safe)
php-5.3.21-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)
PHP 5.3.21 (Non Thread Safe)
php-5.3.21-nts-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)
Additional extensions can be found in the following mediafire folder.
Newly compiled extensions are located in the 5.3 and 5.4 sub folders.
Thank you for the haru_extension. Unfortunately there is no 5.4 nts version of it. The 5.4 folder contains a 5.3-nts Version. I first thought this was just a typo and tried to use it under 5.4 nts but it does not work. Could you please try again to compile php_haru under nts 5.4 aswell? Thanks in advance 🙂
I noticed the other day that the haru and http extensions did not get uploaded for some reason. So, I reuploaded them but ended up uploading the 5.3 extensions by mistake. 😀
Anyway, I have uploaded the correct extensions now.
Hello, and thank you so much for creating these packages. I’m just confused by the filename “php-5.4.11-Win32-VC9-x64”. I assume that “x64” means 64-bit. But then I see the “Win32”, which I thought meant 32-bit. Do “Win32” and “Win64” not mean 32-bit and 64-bit?
ZendOptimizerPlus has gone public. See
I wonder if you can make it load under x64. It compiles, but php-cgi crashes when you add zend_extension=ext/php_ZendOptimizerPlus.dll to your php.ini.
Yes, x64 means 64 bit. Those archives were automatically generated. I did not name them. By “Win32” the PHP developers were probably referring to the Windows API (https://en.wikipedia.org/wiki/Windows_API). Anyway, just ignore the “Win32” part.
I can get it to load, but only by adding “zend_optimizerplus.enable=0”. 😀
> I can get it to load, but only by adding “zend_optimizerplus.enable=0″
so win 64 version wont really work?
Thanks for the binaries. Could you please provide the pdb files as well?
I found not being able to start the built-in server in my win7.
I am running a small website and using XAMPP. I need to have 64 bit memory addressing in PHP, which is why I am trying to get this PHP working since XAMPP just uses 32 bit PHP.
Do you or anyone have experience on replacing the PHP from XAMPP? I have tried simple stuff, like replacing the PHP folder, moving files around, etc. PHP isn’t throwing errors when I try just testing the EXEs, but when I try to start Apache (still 32 bit), it just hangs.
Do I need all 32 bit applications, or is there a specific way of installing this? I may be out of luck, but one of the PHP scripts I deal with is made to move and modify large files, and it has at times caused the PHP service to get very large, and PHP hits the 32 bit memory limit.
Thanks for any tips!
PHP 5.4.12 for Windows x64 available:
php 5.4.12 and php 5.3.22 is release !请老大跟进，这一版修正了很多bug!期待！
Can’t get any x64 version of APC in the Mediafire extensions folder to run with this 5.4.11 binary
Where’s the php5apache2_4.dll for this?
@Nick: no, ZendOptimizerPlus will not run in a 64bit PHP. If you are looking for an Opcode Cacher try XCache 3.0.0. I have found it to be very stable.Better than APC.
Yes, that’s right. The ZendOptimizerPlus extension does not currently work with 64 bit PHP on Windows. Maybe they will fix the problem (whatever it is) eventually.
Thanks for letting me know about the problem. This has been fixed in the 5.4.12 builds that I have just posted. The problem was related to the timeval structure. Here is a patch if you are interested – https://gist.github.com/anonymous/5033825. And here is an old thread I found about the problem – http://social.msdn.microsoft.com/Forums/en/windowssdk/thread/674d34c9-b6f6-4380-bc7b-181eae99847a.
I have just posted 64 bit builds of PHP 5.4.12 and 5.3.22.
Did you try the APC extensions from the “5.4” sub folder?
php5apache2_4.dll is already included in the thread safe builds.
Looks like we posted at the same time. 😀
You will need to use 64 bit Apache too unless you run PHP in CGI mode. I would recommend that you install Apache, PHP, MySQL, etc. separately instead of using XAMPP.
@Anindya: yeah! I do not think ZendOptimizerPlus will run in PHP x64 very soon. The developers are concentrating on making it part of the PHP5 core at the moment. They aren’t interested in x64 at all.
BTW: http://httpd.apache.org/ …
Ah, I see.
And thanks for letting me know about 2.4.4. Checked the site yesterday, but there was no new version then. 😀
I noticed the activity on Apachelounge about 2.4.4 and took a look at apache.org..
BTW: openssl 1.0.1e is out as well bugfixes, compared with 1.0.1d.
Thanks for letting me know about openssl 1.0.1e too. Hadn’t noticed that it was available. Looks like it was released just a few days after 1.0.1d.
@Derek: you may be out of luvk anyway if you have memory problems. See
sorry I’m a bit lost with php_curl versions.
I’m running php 5.3.22 (VC9, TS, x64 on Windows 2008 R2 server) and I’m looking for the latest/most stable php_curl version I could run with it.
I have installed Curl: 7.29 (/ Host: x86_64-pc-win32 ) but Apache crashes when I use multi_exec.
any idea ?