PHP 5.4.5 and PHP 5.3.15 x64 (64 bit) for Windows

PHP 5.4.5 and 5.3.15 were released on July 19, 2012 and below are the 64 bit builds for Windows. A number of security issues and bugs have been fixed since the release of PHP 5.4.3 and 5.3.13 and as such you should upgrade to PHP 5.4.5 or 5.3.15 as soon as possible. The complete official changelog can be found here.

As usual, the following builds were compiled with Visual C++ 2008 (VC9) and should work with the 64 bit builds of Apache HTTP server available on my site. I did not have time to test the 5.3.15 builds so let me know if you have any issues.


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

CRC32: 6931CFAC
MD5: 99E76A2C306A1665DCFBA15CB8F77A13
SHA-1: 6CDDC36BAE007D5D745A37FB2EEE161068DDC281

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

MD5: 4BBF0C0CBFFCDB255F4ED5778DB24517
SHA-1: 12DFABD0CF73A435CCB8BE768150892109813EEC

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

MD5: 054CFBC7E3D120B570533F0C484847CB
SHA-1: 4E538FCFF0A25DC9ADB5E518383890F64750E9E4

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

CRC32: 6D70560B
MD5: D401BBE185B60B0EDD0DD847D57FD6B1
SHA-1: 7D8D21CEFE31A89CD0525C401FF34CC8F6C81453

Additional Extensions

Additional extensions are available here –

Related Posts:

Next Post:
Previous Post:


  1. Lubber

    Thanks a lot, i love you πŸ™‚

  2. Lubber

    May i ask you if you are able to provide a php_saprfc nts x64 extension? You have been asked some blog posts before on an slightly older php version

    old source: (nts and 5.4 seems not to be supported here

    new: Here you can find working x86 builds for php 5.4.x nts.

  3. zmcjs

    thank you very very much!
    we are lov you!

  4. yon

    wincache still can’t normal work in IIS 7.5


  5. Eddy

    Hey Anindya,

    I’ll always be your very eternal fan !

    Your time saves my time. !

    Thanks a million !

  6. Nate

    These are very useful for testing purposes on x64 2008 windows servers. Great work. VC10 versions would be greatly appreciated, if you feel like it and have the time πŸ™‚

  7. Otomatic

    Many thanks

    Note : Some “words” of the captcha are totally incomprehensible (Ten trys before I post)

  8. kdn1990

    php_curl not working ^(

  9. kdn1990

    sorry, it’s working

    where i can download php_zip.dll for PHP 5.4.5??

  10. Anindya


    From what I can see, I will need SAP RFC SDK to compile the saprfc extension. I will also need new sources, if the old ones aren’t compatible with PHP 5.4. I can’t find any new sources and I do not have access to the SAP RFC SDK.


    If you are unable to figure out why the wincache extension isn’t working for you, maybe you should try it on a fresh installation of Windows.


    I hope you know that the captcha is “recaptcha” and it’s owned by Google. I have no control over the displayed words. And the incomprehensible words are just random characters. The comprehensible word is the real word which help’s Google digitize books if solved correctly.

    Many sites are using recaptcha so you should probably learn to solve them. πŸ˜€


    The zip extension is a static extension now so there is no dll file anymore. Check your phpinfo, you will see it there.

  11. yon

    please change the recaptcha code, it is so not easy read words and input .

    php_wincache-svn20120612-5.4-nts-VC9-x64 can’t normal work in php5.4.5 x64. run some time happen crash.

    php_wincache-1.3.0-dev-5.4-nts-VC9-x64 can work in php5.4.5 x64 . but it is seems cache speed not good than wincache-svn20120612.

  12. luke


    Could you compile php_memcache.dll for x86 php 5.4.4 thread-safe also?

    Thanks for the reply. Regards.

  13. Stevo

    Hello Anindya,

    Firstly thank you so much for all the work you have put in over the years maintaining this site, fantastic work.

    Now onto my issue I recently upgraded php from 5.4.3 to 5.4.5 (thread safe) and upgraded the APC module from ‘’ to ‘’. Now apache / php start ok with the APC module enabled however if I attempt to go to a few php pages on the webserver apache will crash usual with a PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (i.e. I allow PHP to use 128MB). If i disable the APC module apache does not crash.

    I then downgraded APC back to ‘’ and it no longer crashes, so although I’m no expert it appears the latest APC 3.1.12 has a memory leak in it somewhere.

    Running on Windows Server 2003 R2 64bit.

    Hope this helps someone.

  14. kdn1990

    php-cgi not working standalone!

  15. Felipe

    APC 3.12 is not working on PHP 5.4.5 or is just mine?

  16. zmcjs

    php 5.4.6 and php 5.3.15 is release please modfily x64 installer packages!
    thank ytou very much!

  17. zmcjs

    php 5.4.6 and php 5.3.16 now is releae!
    please modfily x64 install packages!thank you !

  18. Ari

    Hello! Is it possible for you to compile PHP 5.3.X x64 Thread Safe version with VS2010? Mapguide server uses this version and latest that I can find is 5.3.8 and you seem to be just about only one that has compiled working x64 versions.

  19. Foxbrush

    Thanks for your work : )
    I don’t know why Official PHP site doesn’t compile a x64 PHP version.
    Fortunately, you are doing this great job.

  20. zmcjs

    php 5.4.7 and php 5.3.17 now is releae!
    please modfily x64 install packages!thank you !

  21. Charlie

    Hi Anidya!

    Big fan of your site!

    I have been trying to install php_apc.dll on my wamp server using apache 2.4.2 and php 5.4.3.
    the module shows up under php extensions when i check there. it’s registered in PHP.ini as well.
    however it does not show up when i run phpinfo().

    i checked apache error log and this is what i get:
    PHP Warning: PHP Startup: Unable to load dynamic library ‘c:/wamp/bin/php/php5.4.3/ext/php_apc.dll’ – The specified module could not be found.\r\n in Unknown on line 0

    I’d truly appreciate any guide anyone can provide me with

  22. Charlie

    **UPDATE with my problem

    just in case of anyone who runs into same trouble and save yourself frustration and headache, extension doesn’t seem to work well with 64x wamp. I had to rollback to 32bit. that was the only way to get things running.

    if there’s anyone successful in running the 64bit on a windows 7 machine. let us know.

  23. George Gruber

    I have noticed that you must be incredibly busy to have not gotten to the next two version builds of PHP 5.4. I was wondering if you need some assistance. I can’t promise anything because I do not really understand how much is involved in building PHP the way that you do but I would be willing to listen and get an understanding and let you know if I could be of assistance. If you are interested please reply to the email address provided or here if it is something you would like to chronicle.

  24. Drew

    Hi Anindya:

    Do you think you’ll be doing the usual compiles for Apache 2.4.3? Or will you wait for next version?

  25. emilio

    php_curl and php_openssl are not running.
    Which is the trick?

  26. emilio

    curl and openssl are working.
    but php_intl no.

  27. emilio

    excuse me. all was a PATH problem.

  28. Alex

    I appreciate the effort needed in keeping up to date with all extensions so i hope some of them will take priority based on popular demand.
    Could you please compile a geoip dll for PHP 5.4? If it helps, here are the sources:

  29. Kerry Voss

    please please please I have tried to compile it myself and cannot figure out how to do it. 5.4.7 has lots of bug fixes. Can you please help your releases are so good.

  30. Jan Ehrhardt

    @anindya: for PHP 5.3.18 and 5.4.8 it is possible to use Curl 7.28.0 with this curl build commandline:

    nmake /f mode=static VC=9 MACHINE=x64 WITH_DEVEL=../../win64build USE_IDN=yes WITH_WINSSL=static WITH_SSH2=static WITH_ZLIB=static

    (change the path for WITH_DEVEL to your path)

    But I had to compile libssh2/1.4.2 again after disabling ‘agent_ops_pageant’ at two places in agent.c.

  31. Jan Ehrhardt

    Alternatively you can add user32.lib to

  32. zmcjs

    php 5.4.8 and php 5.3.18 is release!
    please modfily x64 installer!

  33. Otomatic


    Please, make releases for php 5.4.8 and 5.3.18.
    You are the only source I know for 64 bit versions of PHP.

  34. dioskey

    Hi Anindya!!

    What happened to you?

    You are vanquished… πŸ™

    Hope it’s all ok.


  35. dioskey

    oh man! ehm… xcuse me…” vanished”! sorry…

  36. Deano

    @anindya: I really hope that you continue your great work on PHP and Apache build for 64-bit.

    Also I think many people will love it if your compile:

    for 64-bit.

  37. Anindya


    Sorry for the extremely late reply. If the wincache extension loads fine but isn’t working properly and causing PHP to crash occasionally, then it may be because of what Jan mentioned in this comment.


    Sorry to you too for the late reply. I hope you know by now that x86 memcache extensions are now available here –


    Sorry for the late reply. You probably did not download the correct version of the APC extension.


    Apache 2.4.3 will be available very soon. πŸ˜€


    Yup, will compile and post that extension soon. Be sure to remind me if I don’t. πŸ™‚

    @Kerry Voss

    I posted PHP 5.4.8 and 5.3.18 just a few minutes ago. And sorry for the late reply.

    @Jan Ehrhardt

    Sorry for the late reply. Anyway, I noticed that you used “WITH_WINSSL” instead of “WITH_SSL” and I am quite sure that’s what caused the errors you encountered. I didn’t have to do what you suggested when compiling curl 7.28.0. Still had to make some changes in makefile though, like last time. πŸ™‚

    @zmcjs and @Otomatic

    I posted PHP 5.4.8 and 5.3.18 a few minutes ago.


    Thanks for your concern. πŸ™‚

    Anyway, I was busy and also had some other issues.


    I definitely plan on continuing my work on 64 bit builds of PHP and Apache.

    And thanks for letting me know about that module. I will look into it.

  38. micz

    I am looking for php_apc.dll 64bit vc10.
    I have the same problem as @Charlie.

    From the changelog: Verifiez bien que vous avez installΓ© le Visual C++ 2010 SP1 Redistributable Package x64 : VC10 SP1 vcredist_x64.exe ( pour les architectures 64 bits.

    I am using:


  39. Ozan Akman

    Thank you very much! problem solved..

Leave a Comment