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.

Download

PHP 5.4.5 (Thread Safe)

php-5.4.5-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)

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

PHP 5.4.5 (Non Thread Safe)

php-5.4.5-nts-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)

CRC32: 9EFACFF5
MD5: 4BBF0C0CBFFCDB255F4ED5778DB24517
SHA-1: 12DFABD0CF73A435CCB8BE768150892109813EEC

PHP 5.3.15 (Thread Safe)

php-5.3.15-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)

CRC32: D9BA2FD9
MD5: 054CFBC7E3D120B570533F0C484847CB
SHA-1: 4E538FCFF0A25DC9ADB5E518383890F64750E9E4

PHP 5.3.15 (Non Thread Safe)

php-5.3.15-nts-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)

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

Additional Extensions

Additional extensions are available here – http://www.mediafire.com/php-win64-extensions.

Related Posts:

Next Post:
Previous Post:

40 Comments

  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
    http://saprfc.sf.net

    new: Here you can find working x86 builds for php 5.4.x nts.
    http://sourceforge.net/p/saprfcsdk

  3. zmcjs

    thank you very very much!
    we are lov you!

  4. yon

    wincache still can’t normal work in IIS 7.5

    0xc0000005

  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

    @Lubber

    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.

    @yon

    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.

    @Otomatic

    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. http://www.google.com/recaptcha/learnmore

    Many sites are using recaptcha so you should probably learn to solve them. πŸ˜€
    http://img694.imageshack.us/img694/1290/recaptcha.gif

    @kdn1990

    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

    Hi

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

    Thanks for the reply. Regards.
    luke

  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 ‘php_apc-3.1.9-svn20120318-5.4-VC9-x64.zip’ to ‘php_apc-3.1.12-svn20120731-5.4-VC9-x64.zip’. 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 ‘php_apc-3.1.9-svn20120318-5.4-VC9-x64.zip’ 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

    Hi
    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.
    thanks.

  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: https://github.com/bobmajdakjr/php-geoipo/tree/php-5.4.0.

  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 makefile.vc 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 MakefileBuild.vc:
    http://curl.haxx.se/mail/lib-2012-10/0161.html

  32. zmcjs

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

  33. Otomatic

    Hi,

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

  34. dioskey

    Hi Anindya!!

    What happened to you?

    You are vanquished… πŸ™

    Hope it’s all ok.

    A.

  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: https://developers.google.com/speed/spdy/mod_spdy/

    for 64-bit.

  37. Anindya

    @yon

    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.

    @luke

    Sorry to you too for the late reply. I hope you know by now that x86 memcache extensions are now available here – http://windows.php.net/downloads/pecl/releases/memcache/2.2.7/.

    @Charlie

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

    @Drew

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

    @Alex

    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.

    @dioskey

    Thanks for your concern. πŸ™‚

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

    @Deano

    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

    Hi!
    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 (http://www.microsoft.com/download/en/details.aspx?id=13523) pour les architectures 64 bits.

    I am using: http://sourceforge.net/projects/wampserver/files/WampServer%202/WampServer%202.2/wampserver2.2e/wampserver2.2e-php5.4.3-httpd-2.4.2-mysql5.5.24-x64.exe/download

    Thanks…

  39. Ozan Akman

    Thank you very much! problem solved..

Leave a Comment

Notify me of follow-up comments via e-mail.