PHP 5.4.11 and 5.3.21 x64 (64 bit) for Windows


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) (Mirror 1) (Mirror 2)

CRC32: 5B64C774
MD5: DD4F4720D7D6C072841A729EE496C62A
SHA-1: 0FEFE27CE7762BCE449EDEA6B35359A15F9D4F42

PHP 5.4.11 (Non Thread Safe) (Mirror 1) (Mirror 2)

CRC32: B9B7A573
MD5: 359AC61FDF45AC2EEE56E20D77D91FD4
SHA-1: D306EF9493E7887F38BFCBC3E9B22455B4DB1079

PHP 5.3.21 (Thread Safe) (Mirror 1) (Mirror 2)

MD5: 019BAB02B786231B43DF134AE68E205B
SHA-1: 849A71EEC28FA74AE453D573CEC9DF9EC454523B

PHP 5.3.21 (Non Thread Safe) (Mirror 1) (Mirror 2)

CRC32: BF7431C1
MD5: B749E35511E91BEDF8BBB72866ACEAD7
SHA-1: D6246C1D1F3E3070C24776193C72C58D08CA1047

Additional Extensions

Additional extensions can be found in the following mediafire folder.

Newly compiled extensions are located in the 5.3 and 5.4 sub folders.

Related Posts:

Next Post:
Previous Post:


  1. Lubber

    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 🙂

    • Anindya

      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.

  2. Coder

    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?

  3. Jan Ehrhardt

    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.

  4. Anindya


    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 ( Anyway, just ignore the “Win32” part.

    @Jan Ehrhardt

    I can get it to load, but only by adding “zend_optimizerplus.enable=0”. 😀

  5. Nick

    > I can get it to load, but only by adding “zend_optimizerplus.enable=0″

    so win 64 version wont really work?

  6. Victor Guo

    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.

  7. Derek

    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!

  8. Jan Ehrhardt

    PHP 5.4.12 for Windows x64 available:

  9. zmcjs

    php 5.4.12 and php 5.3.22 is release !请老大跟进,这一版修正了很多bug!期待!

  10. Dawn

    Can’t get any x64 version of APC in the Mediafire extensions folder to run with this 5.4.11 binary

  11. Derakkon

    Where’s the php5apache2_4.dll for this?

  12. Jan Ehrhardt

    @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.

  13. Anindya


    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.

    @Victor Guo

    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 – And here is an old thread I found about the problem –


    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.

  14. Anindya

    @Jan Ehrhardt

    Looks like we posted at the same time. 😀

  15. Anindya


    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.

  16. Jan Ehrhardt

    @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.


    • Anindya

      Ah, I see.

      And thanks for letting me know about 2.4.4. Checked the site yesterday, but there was no new version then. 😀

  17. Jan Ehrhardt

    I noticed the activity on Apachelounge about 2.4.4 and took a look at
    BTW: openssl 1.0.1e is out as well bugfixes, compared with 1.0.1d.

    • Anindya

      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.

  18. Jan Ehrhardt

    @Derek: you may be out of luvk anyway if you have memory problems. See

  19. pierre


    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 ?


Leave a Reply to Jan Ehrhardt