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:

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

62 Comments

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

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

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

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

  • 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

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

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

  • 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

  • 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

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

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

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

  • 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

  • @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) ?

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

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

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

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

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

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

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

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

  • php 5.4.11 and php 5.3.21 is release!

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

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

  • @Jan Ehrhardt

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

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