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).
PHP 5.4.8 (Thread Safe)
php-5.4.8-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)
PHP 5.4.8 (Non Thread Safe)
php-5.4.8-nts-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)
PHP 5.3.18 (Thread Safe)
php-5.3.18-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)
PHP 5.3.18 (Non Thread Safe)
php-5.3.18-nts-Win32-VC9-x64.zip (Mirror 1) (Mirror 2)
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.
Thank your work !
Please update geoip new version for PHP5.4.
You’re welcome. 🙂
Will compile new version of geoip soon.
wincache should update also. 126.96.36.199 is out.
Yup, will compile new version of wincache too.
Many thanks for great jobs…
You’re welcome. 😀
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. 😀
Please update xcache extension (3.0.0) for 5.3 and 5.4. Thank you!
Yup, I will.
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.
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.
Please, recompile eAccelerator for PHP 5.3.18 and 5.4.18.
You do great work! Thank you!
Could you compile new version of eaccelerator for 5.4.8 ?
Thank you so much! I’ve been waiting for these x64 builds!
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 so much for releasing this Anindya 😀 😀 :P!
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.”
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,
Are there ZIP extensions for 5.3 and 5.4?
Pardon, found it compiled in!
Great Blog. Was endlessly searching for the installers. Thanks a bunch for the work
Could you please compile php_geoip for PHP 5.4 nts ? Your folder only contains version for 5.3 Thanks 🙂
Great job as always:)
Please compile newest version of memcache…
Thanks a terabyte…
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!
Could you compile php_ssh2 for PHP 5.4.x? thank you so much.
…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
it would probably need the haru library compiled for x64 aswell
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
Any chance on getting your source directory setup/layout ?
MediaFire extension folder does not load. I only see endless “loading…” 🙁
@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..
Or the nts version: http://dl.dropbox.com/u/8954372/php-5.4.9-nts-Win32-VC9-x64.zip
@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 188.8.131.52”
..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.
Well, i now use your 5.4.10 x64 build you have posted on apachelounge. That is working 🙂
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
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 5.4.10 and php 5.3.20 is release!
palease modfily x64 installer packages!
thank you !
Could you please compile php_dbase for PHP 5.4 ts ? Your folder only contains version for 5.3 Thanks
php 5.4.10 x64 waittttiiiiinnnnggggg
php.exe -r “var_dump(PHP_INT_MAX);” gives int(2147483647) so the same as 32 bit version. I am missing something here?
It really help me out.
I didn’t find php_com_dotnet.dll int ext folder.
or I could use the win32 version?
Hi could you please update geoip for php 5.4.7?
Btw: great work!
PHP 5.4.11 for Windows X64:
@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!
Tnank your opportune work.
Where I can download php_memcached?
Thanks for the info.
And it’s good that you have started sharing your builds too. 😀
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.
@Anindya: If you are updating PHP, there is a memory issue in the latest APC
Thanks for the info. Will compile APC 3.1.13 instead of checking out the source from svn.
php 5.4.12 and php 5.3.22 is RC release
@Anindya: you should upgrade to Curl 7.29.0 as well, because of a vulnerability in 7.28.x:
@zmcjs: 5.4.12 and 5.3.22 aren’t released yet
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.
After I upgrade my PHP version from 5.3 to 5.4, whatever I tried, C U R L not working. Anyone know how to fix it?