PHP 5.4.12 and 5.3.22 x64 (64 bit) for Windows


PHP 5.4.12 and 5.3.22 were released on 21 February, 2013. As usual they are bug fix releases. The complete official changelog can be found here.

Below you will find 64 bit binaries of PHP 5.4.12 and 5.3.22 for Windows. They were compiled with Visual C++ 2008 (MSVC 9). Also, there was a bug in the previous 64 bit 5.4 releases, which would cause php cli to crash when trying to start the built in web server. This has now been fixed.


5.4.12 (Thread Safe) (Mirror 1) (Mirror 2)

CRC32: B25819E8
MD5: 063A9A25D7BAB1C1356D7D0745C0C3E4
SHA-1: 42FB0C90290A0036C29EEAE876FC4514BE13D916

5.4.12 (Non Thread Safe) (Mirror 1) (Mirror 2)

CRC32: DF38C292
MD5: 6A5F2705E66B9EAFFDE7C1CE2F1CC208
SHA-1: 7598F2E7B9E03D55172E58F3A399D700427877BA

5.3.22 (Thread Safe) (Mirror 1) (Mirror 2)

CRC32: F6EB49D6
MD5: 48D861B4ECD14D5CFE5FA2A808281996
SHA-1: 8D39D04373C45161871083CBDD0FDD405819C3D8

5.3.22 (Non Thread Safe) (Mirror 1) (Mirror 2)

CRC32: F204ECC4
MD5: 4CD0ABDA3558C61AB11749C019947DF4
SHA-1: 682F0FD03275E57311D04AB2B7BA36A0FEDE91C6

Additional Extensions

Additional extensions can be found here –

Please check the 5.3 and 5.4 sub folders for newer versions.

Related Posts:

Next Post:
Previous Post:


  1. victor

    Gracias Anindya, te agradezco mucho tu tiempo y esfuerzo.

  2. John

    Can’t get APC to work on Win 7 64bit. Downloaded php TS 5.4.12 + apache 2.2.23 x64 installer. php works, but as soon i add php_apc.dll apache won’t start. Tried all available versions from mediafire and without success.
    + php build-in server ckrashes on start:
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: php.exe
    Application Version:
    Application Timestamp: 511569dc
    Fault Module Name: php5ts.dll
    Fault Module Version:
    Fault Module Timestamp: 51156a40
    Exception Code: c0000005
    Exception Offset: 000000000011a8f0
    OS Version: 6.1.7601.
    Locale ID: 1062
    Additional Information 1: 8864
    Additional Information 2: 8864286369440d6623a272778e4db0b2
    Additional Information 3: 1c32
    Additional Information 4: 1c32f4ebc8449f77c8baa380fd60a1a0

    Read our privacy statement online:

    If the online privacy statement is not available, please read our privacy statement offline:

  3. zmcjs


  4. Anindya


    You are welcome. 😀

    Google translated:
    Usted es bienvenido. 😀


    Doesn’t look like you are using 5.4.12. Also, looks like you are using Windows 7, so please use the php_apc.dll from the following archive.


    Yes, I have noticed that too.

    Google Translated:

  5. zmcjs


  6. Scott

    I can’t seem to find the thread safe version for x64 APC extension for versions 3.1.13, I tried the nts one posted in the comments, but it doesn’t seem to agree with my setup for some reason.

  7. sam

    How about SQL SERVER drivers for windows? any change to shim that in to work?

    Having a bigint would be nice too but seriously how about Microsoft SQL SERVER drivers?

  8. zmcjs

    php 5.4.13 and 5.3.23 is release !please modfily x64 packages!
    thank you

  9. Jan Ehrhardt

    @sam: try the php_sqlsrv.dll in my PHP 5.4.13 compilations:

  10. Jan Ehrhardt

    That is only in the x86-versions…

  11. Pitoziq

    Thank you for your hard work! Is it possible to add php_gmagick to php extensions list?

  12. Jan Ehrhardt

    To my surprise I found a lot of x64 extensions on

  13. Johnny


    I installed this version on Windows Server 2008 R2 standard. When testing if PHP is ok using PHP -info

    Got the error below:-
    C:\PHP>php -info
    The application has failed to start because its side-by-side configuration is in
    correct. Please see the application event log or use the command-line sxstrace.e
    xe tool for more detail.

    Event Viewer:-
    Activation context generation failed for “C:\PHP\php.exe”. Dependent Assembly Microsoft.VC90.CRT,processorArchitecture=”amd64″,publicKeyToken=”1fc8b3b9a1e18e3b”,type=”win32″,version=”9.0.21022.8″ could not be found. Please use sxstrace.exe for detailed diagnosis.

    Pls help.


  14. Jan Ehrhardt

    PHP 5.4.14 (and 5.3.24) are already available:

    My x64 build uses ICU 51.

  15. Jan Ehrhardt

    Official x64 (!) VC11 builds of PHP 5.5.0 beta 3:

    My builds with more extensions:

  16. zmcjs

    php 5.4.14 and 5.3.24 is release !please modfily x64 packages!
    thank you!

  17. Jan Ehrhardt
  18. kssbsr

    How to build php x64 edition myself? I’d like to try php 5.5 on Apache 2.4(x64) MySQL(x64) on Windows Server 2012. Thanks.

  19. Jan Ehrhardt

    PHP 5.4.14 (and 5.3.24) are available:

    The x64 builds now contain php_opcache.dll and php_apcu.dll

  20. Jan Ehrhardt

    Oops. That must have been 5.4.15 (and 5.3.25)

  21. zmcjs

    php 5.4.15 and php 5.3.25 is release please modfily x86 and x64 package是!

  22. Mirek

    Please, build SQLite version 3.7.11 or higher, where you can insert multiple rows at once

  23. Jan Ehrhardt

    PHP 5.4.16 and 5.3.26 are released.

  24. zmcjs

    php 5.4.16 and 5.3.26 is release!
    please modfily x64 installer packages!
    thank you!

  25. vicmx

    @Jan Ehrhardt Where is the PHP 5.3.26 package?

  26. Jan Ehrhardt
  27. Jan Ehrhardt

    Just change the 5.4.16 in the URL in 5.3.26 😉

  28. vicmx

    Oh!! Thank you very much 🙂

  29. Jan Ehrhardt

    You can find PHP 5.5.0RC3 x64 at (official builds) (my builds)

    @Johnny: try to install the Microsoft Visual C++ 2008 SP1 Redistributable. And while you are at it, do the same for the Visual C++ 2010 Redistributable and Visual C++ 2012 Redistributable

    @others: the PHP sources do not make any difference for x64 and x86 (yet?). So no bigint’s. There are no Sql Server drivers for x64.

  30. Jan Ehrhardt

    PHP 5.5.0 final has been released.

  31. Cyrus

    How come PHP_INT_SIZE still returns 4? Shouldn’t it return 8 since it’s 64bit?

  32. Ben

    Thank you, this was the only php_memcache.dll that I managed to get to work using:
    – Windows 7 64bit
    – WAMP (Apache 2.4.4 + PHP 5.4.12 )

  33. pedro


    I tried to install the 5.3.22 VC9 x64 TS provided here on my server but faced the famous “cannot load curl dll” issue.
    Does 5.3.22 need a fixed curl dll too ? iif so wher can it be found ?

    many thanks,

  34. pierre

    Hi there, 1st thanks a lot for the binaries !
    I’m running 5.3.22 VC0 x64 on a Win2008 R2 server.
    Everything s OK except that C_url crashes apache when multi_exec is used.

    What other version of C_url do you recommend to use ? and if none avail. then is there a preffered upgrade path to follow to a high PHP revision coming with a more stable php_c url ?

  35. shc

    Can’t get php_apc.dll for 5.4.12.

Leave a Reply to Jan Ehrhardt