PHP 5.4.8 and PHP 5.3.18 x64 (64 bit) for Windows

PHP 5.4.8 and 5.3.18 were released on October 18, 2012 and include a number of bug fixes. The official changelog can be found here. And below are the 64 bit builds for Windows which many of you have been waiting for.

I once again apologize for taking so long to post these builds and for not posting the previous versions. In the past few months whenever I had free time I would decide to compile PHP and would go to php.net only to find that release candidates for the next versions were already out. And so I would wait for the next versions. This time I compiled PHP 5.4.8 soon after it was released. But then I noticed that the official builds were compiled against newer versions of certain libraries, so I decided to do the same and that took additional time.

Anyway, as usual the following builds were compiled with Visual C++ 2008 (VC9). And I have compiled them against newer versions of the following libraries – ICU (50.1), freetype (2.4.10), libjpeg (8d), libiconv (1.14), libpng (1.5.13), mpir (2.5.1), libXpm (3.5.10), libxslt (1.1.27), libssh2 (1.4.2) and curl (7.28.0).

Download

PHP 5.4.8 (Thread Safe)

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

CRC32: 1641A5D3
MD5: 621C666B30E6B0EF7E6EAB016BA5467C
SHA-1: 6142CD622723FEF966B62ADB506F3732FC774D7C

PHP 5.4.8 (Non Thread Safe)

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

CRC32: 6162703B
MD5: D8F3087BAEF8C9BAD7D504291B5BFDD9
SHA-1: 6A429C288252D98C5572B09D09A656696B360C3C

PHP 5.3.18 (Thread Safe)

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

CRC32: CEA881DC
MD5: 69D5B2BAB9B6687D9F8E6B04DFB7CA4E
SHA-1: ADEB76E0FA8283B5993211B7ACAC53CAC8FE16AB

PHP 5.3.18 (Non Thread Safe)

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

CRC32: 00BBEAE9
MD5: EF213F073D4982E8C5E4A7A20EF55808
SHA-1: 714CEAA79476C60A8A5BE5B9829A98315E808CB8

Additional Extensions

Previously compiled extensions can still be found here – http://www.mediafire.com/php-win64-extensions.

Will be compiling newer versions of various extensions soon. And that mediafire folder is getting cluttered so I will make separate folders for PHP 5.3 and 5.4. Let me know if you are interested in any extension that I haven’t already compiled or there is a newer version out.

Related Posts:

Next Post:
Previous Post:

61 Comments

  1. yon

    Thank your work !
    Please update geoip new version for PHP5.4.

  2. Anindya

    You’re welcome. 🙂

    Will compile new version of geoip soon.

  3. yon

    wincache should update also. 1.3.4.1 is out.

  4. Rudhy

    Many thanks for great jobs…

  5. Robin Morrison

    Thanks Anindya, just glad to see you’re still around! I was starting to think Aliens had abducted you!

    • Anindya

      You’re welcome. And no, I wasn’t abducted by aliens. Even if I were, I wouldn’t remember ’cause they would probably erase my memory afterwards. 😀

  6. svsw

    Please update xcache extension (3.0.0) for 5.3 and 5.4. Thank you!

  7. Dave

    Hi Anindya,

    Using php 5.4.8, I get the following errors in my apache log if the snmp module is enabled (I copied my php.ini from 5.4.5 where I didn’t get the error) and yes I have php_snmp.dll in the ext directory

    No log handling enabled – turning on stderr logging
    MIB search path: c:/usr/share/snmp/mibs
    Cannot find module (IP-MIB): At line 0 in (none)
    Cannot find module (IF-MIB): At line 0 in (none)
    Cannot find module (TCP-MIB): At line 0 in (none)
    Cannot find module (UDP-MIB): At line 0 in (none)
    Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
    Cannot find module (SNMPv2-MIB): At line 0 in (none)
    Cannot find module (SNMPv2-SMI): At line 0 in (none)
    Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
    Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
    Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
    Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
    Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
    Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
    Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
    Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
    Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
    Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
    Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
    Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
    Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
    Cannot find module (SNMPv2-TM): At line 0 in (none)

  8. Dave

    Re my snmp comment – forget it! It’s something to do with not setting an environment variable – nothing to do with your work!

  9. R Foreman

    Thank you for this. I get load errors on the following 3 extensions though.
    php_intl.dll
    php_pdo_pgsql.dll
    php_pgsql.dll
    This is version 5.4.8 I am using, win7 (64bit) with the latest apache2.4

    • Anindya

      You probably did not add the PHP directory (eg. C:\php) to your PATH environment variable. These extensions depend on some dll files that are located in the PHP directory.

  10. gald_ev

    Please, recompile eAccelerator for PHP 5.3.18 and 5.4.18.

    You do great work! Thank you!

  11. Rudhy

    Could you compile new version of eaccelerator for 5.4.8 ?
    Thanks

  12. Porgos

    Thank you so much! I’ve been waiting for these x64 builds!

  13. Mamba

    Thank you so much for doing it! You’re the only one who does that and we all very much appreciate it!

    http://www.php.net should finally start releasing 64 bit versions too. Almost all Windows versions now are 64 bit, so why are they still releasing only 32 bit is beyond me!

  14. Michael Muryn

    I noticed that some extensions are not available for PHP 5.4 like the http one I needed, and using the PHP 5.3 one is not an option I guess (at least it did not work with the build I use). It would be nice if you could update these too. Thanks

  15. Drew

    Will you also be updating Apache 2.4.3 with VC9 x86 and 64 bit versions? Looks like the most recent VC9 update was 2.4.2

    Or are we waiting for next 2.4.4 to roll out before an update?

    Thanks!
    Drew

  16. Dean

    Thanks so much for releasing this Anindya 😀 😀 :P!

  17. Dean

    I really hope that you are working on compiling Apache httpd 2.4.3.

    “New features include Loadable MPMs, major improvements to OSCP support, mod_lua, Dynamic Reverse Proxy configuration, Improved Authentication/Authorization, FastCGI Proxy, New Expression Parser, and a Small Object Caching API.”

  18. Paul Norman

    Would it be possible to build an x64 VC9 version of the PECL UploadProgress extension? (http://pecl.php.net/package/uploadprogress). It would be amazing if you could!

    Thanks in advance,

    Paul

  19. Q-Zma

    Are there ZIP extensions for 5.3 and 5.4?

  20. nelson sakwa

    Great Blog. Was endlessly searching for the installers. Thanks a bunch for the work

  21. Lubber

    Could you please compile php_geoip for PHP 5.4 nts ? Your folder only contains version for 5.3 Thanks 🙂

  22. Tavare

    Great job as always:)
    Please compile newest version of memcache…

    Thanks a terabyte…

  23. zmcjs

    PHP 5.4.9 AND php 5.3.19 is release!
    apache 2.4.3 and 2.2.23 is release !

    please modfily x86 and x64 installer packages!

    thank you very much!

  24. Nitemare

    Could you compile php_ssh2 for PHP 5.4.x? thank you so much.

  25. Lubber

    …and while we are at it:

    a php 5.4 x64 nts Verision of php_haru (native pdf creation with >=function like fpdf) would also be very nice

    http://pecl.php.net/package/haru

    it would probably need the haru library compiled for x64 aswell

    http://libharu.org/wiki/Downloads

    🙂

  26. JeffR

    Anindya I’ve been following your work for quite some time and it’s much appreciated and inspired me to try and compile PHPx64.

    Do you modify the APC 3.1.x source files in any way for x64? My VC10 version compiles but will not run as static or a shared module. The x86 build compiles and runs as expected.

    Thank you in advance

  27. EHCanadian

    Any chance on getting your source directory setup/layout ?

  28. Ziggi

    MediaFire extension folder does not load. I only see endless “loading…” 🙁

  29. Jan Ehrhardt

    @Lubber: try the one in http://dl.dropbox.com/u/8954372/php-5.4.9-Win32-VC9-x64.zip
    I did not test it, but maybe you can..

  30. Jan Ehrhardt
  31. Lubber

    @Jan Ehrhardt: WOW thats a quite complete and working compilation with lots of extensions! Thank you very much for the NTS build. Do you have an official website where you maintain x64 builds (or more) ?

  32. Lubber

    @Jan Ehrhardt: Unfortunately the php_oci8_11g.dll is broken in your 5.4.9 build. it does not recognize the oracle driver. switching back to anindyas 5.4.8 does still work.
    phpinfo always says “Oracle Run-time Client Library Version 0.0.0.0” at your 5.4.9 while the 5.4.8 from anindya correcly says “Oracle Run-time Client Library Version 11.2.0.2”

    ..but using your php_geoip.dll under anindyas 5.4.8 does work! 🙂 So i stay at anindyas 5.4.8 and use your other extensions from 5.4.9.

  33. Jan Ehrhardt

    @Lubber: as far as I can see php_oci8_11g.dll reads the client version from OCI.dll and other OCI*.dll’s. If I run php phpinfo.php from the command line for Anindya’s build, I also get version 0.0.0.0.0. Try to replace only the php_oci8_11g.dll in your current setup with my php_oci8_11g.dll and see if it reports the client version correctly.

    I do not have a website where I publish my builds.

  34. Lubber

    Well, i now use your 5.4.10 x64 build you have posted on apachelounge. That is working 🙂

  35. Whatitis

    I just wanted to say thank you for compiling this! I’m sure I, and everyone else in this thread, really appreciate you spending the time and effort on this.

  36. yon

    @Jan Ehrhardt Could you offer full php5.4.10 for me?

    maybe I can help offer hosting for work. please send mail to info at ipv6china.com

  37. Jan Ehrhardt
  38. yon

    @Jan Ehrhardt

    thank you. I have test it. maybe the php_geoip.dll has bugs. when I use piwik.org’s code with geoip. it is show http 500 wrong. Colse php_geoip.dll in php.ini just ok.

    what’s your email ?

  39. zmcjs

    php 5.4.10 and php 5.3.20 is release!
    palease modfily x64 installer packages!
    thank you !

  40. pavkrej

    Could you please compile php_dbase for PHP 5.4 ts ? Your folder only contains version for 5.3 Thanks

  41. wait

    php 5.4.10 x64 waittttiiiiinnnnggggg

  42. dnd

    php.exe -r “var_dump(PHP_INT_MAX);” gives int(2147483647) so the same as 32 bit version. I am missing something here?

  43. jamie

    thank you,
    It really help me out.
    I didn’t find php_com_dotnet.dll int ext folder.
    or I could use the win32 version?

  44. Carl

    Hi could you please update geoip for php 5.4.7?
    Btw: great work!

    thank you

  45. Jan Ehrhardt
  46. Jan Ehrhardt

    @Anindya: with a little tweak in ext/gd/libgd/gd_jpeg.c you can upgrade to libjpeg 9.0. It will compile without the tweak but reports a “unknown” version, because gd_jpeg.c only knows 6b, 7 and 8.

  47. zmcjs

    php 5.4.11 and php 5.3.21 is release!

    站长很久没有发布64新版了,最近很忙吗,期待您发布64版本啊!
    都已经好几个新版没见过了!

  48. yon

    @Jan Ehrhardt

    Tnank your opportune work.

  49. kdn1990

    Where I can download php_memcached?

  50. Anindya

    @Jan Ehrhardt

    Thanks for the info.

    And it’s good that you have started sharing your builds too. 😀

    @everyone else

    Sorry, but I will not be able to respond to all the comments. I will however try and compile any extensions that you may have requested.

  51. Jan Ehrhardt

    @Anindya: If you are updating PHP, there is a memory issue in the latest APC
    http://comments.gmane.org/gmane.comp.php.devel/78532

  52. Anindya

    @Jan Ehrhardt

    Thanks for the info. Will compile APC 3.1.13 instead of checking out the source from svn.

  53. zmcjs

    最新版本的php 5.4和5.3马上就发布了

    php 5.4.12 and php 5.3.22 is RC release
    请搂主到时候修改x64版本,谢谢!

  54. Jan Ehrhardt

    @Anindya: you should upgrade to Curl 7.29.0 as well, because of a vulnerability in 7.28.x:
    http://curl.haxx.se/docs/adv_20130206.html

    @zmcjs: 5.4.12 and 5.3.22 aren’t released yet

  55. Anindya

    @Jan Ehrhardt

    Your previous comment was blocked my modsecurity because it had the word “curl” in it. Sorry about that.

    Anyway, thanks for the info about curl.

Leave a Comment

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