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:

You can follow any comments to this entry through the RSS feed. You can leave a comment, but pinging is currently not allowed.

39 Comments

  • 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 πŸ™‚

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

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

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

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

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

  • 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

  • **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.

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

  • Hi Anindya:

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

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

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

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

  • 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…

Leave a Comment