PHP 5.3.6 x64 (64 Bit) for Windows

PHP

As promised, here are the 64 bit builds of PHP 5.3.6 for Windows. PHP 5.3.6 was released about 12 days ago (17 March 2011) and includes a number of security and bug fixes (Changelog). Wanted to post this earlier but didn’t have the time to compile and test it.

Anyway, I noticed that the mcrypt extension is now a static extension and so there will be no php_mcrypt.dll file. If you copy over your old php.ini file, be sure to comment out the “extension=php_mcrypt.dll” line (in case you were using this extension and had that line uncommented).

Download

VC9 x64 Thread Safe

php-5.3.6-Win32-VC9-x64.zip

CRC32: 7721568E

MD5: B54501752E8B0BFF821B7D5492001E11

SHA1: 48A60C0BC79898C2033EC4F0337A55534FA4C4FA

php-5.3.6-nts-Win32-VC9-x64.zip

CRC32: 269853DE

MD5: FB908D1D4EB7AEBCF74BFA0997CF22F7

SHA1: 5B395461DB669342AEF38340822AC9FEC4C989B4

Additional Extensions

The pecl archives below contain the following extensions: APC 3.1.6, memcache 2.2.6, pecl_http 1.7.0 and pdflib 2.1.8. The pdflib extension was compiled with PDFLib 8.0.2p3 and you will need this pdflib.dll file to use it.

pecl-5.3.6-Win32-VC9-x64.zip (Thread Safe)

pecl-5.3.6-nts-Win32-VC9-x64.zip (Non Thread Safe)

eAccelerator-0.9.6.1_php-5.3.6-Win32-VC9-x64.zip (Thread Safe)

PHP 5.3.5 x64 (64 Bit) for Windows

PHP 5.3.5 was released a few weeks ago. On January 6, 2011 to be precise. This new release apparently resolves a critical issue which only affected 32 bit PHP processes. So, I used the provided test script to check my latest 64 bit PHP builds and found out that they aren’t affected.

I just read the release announcement yesterday when I had some free time and decided to compile PHP 5.3.5. And I think this is the only change in it as I don’t see a changelog in their announcement. So, I don’t really think there was any point of compiling 64 bit PHP 5.3.5 builds but I did anyway since some of you have been requesting it. 🙂

Download

VC9 x64 Thread Safe

php-5.3.5-Win32-VC9-x64.zip

CRC32: EE0E8E0B

MD5: CEEB134CB98DEDBF283E2F1EB0523CA3

SHA1: 4D94CC68D4093F4A42D429D135AEDA946C4E2ABE

VC9 x64 Non Thread Safe

php-5.3.5-nts-Win32-VC9-x64.zip

CRC32: EF309EBC

MD5: 897A7D7328D64CE3539E975CE9385D9E

SHA1: B61B45D3DB035B442F33E2D3DEBD654E6FB9DBBE

Additional Extensions

The pecl archives below contain APC 3.1.6 (I made sure that experimental features weren’t enabled), http 1.0.7 and Memcache 2.2.6.

pecl-5.3.5-Win32-VC9-x64.zip (Thread Safe)

pecl-5.3.5-nts-Win32-VC9-x64.zip (Non Thread Safe)

eAccelerator 0.9.6.1 (Thread Safe)

PHP 5.3.4 x64 (64 Bit) for Windows

PHP 5.3.4 was released a few days ago (December 10, 2010). Last Sunday (December 12, 2010) while I was trying to compile some of the extensions that were requested in my previous post, I decided to check the php.net site to see if a new version of PHP was available and that’s when I saw that PHP 5.3.4 was out. I immediately stopped what I was doing and downloaded the PHP 5.3.4 source to compile it instead. I also decided to compile the requested extensions along with PHP 5.3.4. From the extensions that were requested, I was able to compile the snmp (php_snmp.dll), firebird 2.1 (php_interbase.dll and php_pdo_firebird.dll) and the pecl http 1.0.7 (php_http.dll) extensions. I have also compiled eAccelerator 0.9.6.1, APC 3.1.6 and Memcache 2.2.6 which I had previously compiled for PHP 5.3.3.

Anyway, as before, I have compiled both thread safe and non thread safe versions of PHP and the additional extensions. They were compiled with Visual C++ 2008 (VC 9) and can be used with my 64 bit Apache binaries.

Download

VC9 x64 Thread Safe

php-5.3.4-Win32-VC9-x64.zip

CRC32: 8B1FA8D5

MD5: 631CC93DA3623F2C5C1511D8B963AAC4

SHA1: B506FDF4AAB4F7E41AAB0E72F93D0864E3B6EFF4

VC9 x64 Non Thread Safe

php-5.3.4-nts-Win32-VC9-x64.zip

CRC32: 8B730428

MD5: 2C48B977B49D271528AFE05EBE10BEB4

SHA1: 16A071CEA8936F6C46DE5FB2D6EE1CC65214B1AB

Additional Extensions

The pecl archives below contain the APC 3.1.6, http 1.0.7 and Memcache 2.2.6 extensions.

pecl-5.3.4-Win32-VC9-x64.zip (Thread Safe)

pecl-5.3.4-nts-Win32-VC9-x64.zip (Non Thread Safe)

eAccelerator-0.9.6.1-5.3.4-Win32-VC9-x64.zip (Thread Safe)

eAccelerator-0.9.6.1-5.3.4-nts-Win32-VC9-x64.zip (Non Thread Safe)

Update: The php_apc.dll extension in the pecl archives above have experimental features enabled in them (enabled automatically by configure command) and may not work as expected. I recompiled the thread safe extension without the experimental features and it can be downloaded from here.

Apache HTTP Server 2.2.17 x86 and x64 Windows Installers

Update: OpenSSL 1.0.0d was released on February 8 and contains an important security fix, the details of which are mentioned in this security advisory. So, if you previously installed Apache 2.2.17 with OpenSSL 1.0.0a using one of my installers, I recommend you use the mod_ssl-2.2.17-x86-openssl-1.0.0d.exe or mod_ssl-2.2.17-x64-openssl-1.0.0d.exe to upgrade your installation as soon as possible. They are self extracting archives and only contain the mod_ssl and OpenSSL files.

Apache HTTP Server 2.2.17 was released a few weeks ago (October 19, 2010). Changelog can be found here. I have had the x86 and x64 binaries compiled for a while now but keep forgetting to post them. Anyway, I am finally posting them today. As usual they have been compiled with Visual C++ 2008 (VC9) and contain latest version of OpenSSL (1.0.0a) and Zlib (1.2.5). I have noticed that for some reason the official binaries are still using OpenSSL 0.9.8o. Maybe because it’s at the top of the list in the OpenSSL download page. 😀

Since the installers are digitally signed, I am not posting any CRC32 or MD5 hashes this time.

Download

apache_2.2.17-x64-openssl-1.0.0d.msi

apache_2.2.17-x64-no-ssl.msi

apache_2.2.17-x86-no-ssl.msi

apache_2.2.17-x86-openssl-1.0.0d.msi

mod_ssl-2.2.17-x64-openssl-1.0.0d.exe

mod_ssl-2.2.17-x86-openssl-1.0.0d.exe

Mirror

Now you can also find the latest Apache binaries at http://apache.godfather.net.ru. So, in case you are unable to download from the mediafire links above, you can download from this mirror instead. Thanks to Alex for providing the mirror. 🙂

PHP 5.3.3 x64 (64 Bit) for Windows

Just noticed today that PHP 5.3.3 was released recently. However, there still aren’t any official 64 bit binaries for Windows available at php.net. So once again I have compiled PHP myself and here are the 64 bit binaries for Windows.

I have compiled both the thread safe and non thread safe versions together. They were compiled with Visual C++ 2008 (VC9). The thread safe version includes php5apache2_2.dll for use with Apache 2.2 and php5isapi.dll for use with IIS.

Download

php-5.3.3-Win32-VC9-x64.zip

CRC32: 012202E7

MD5: 0AEBDC3B4C2EA1B917ED6731C2F7B874

SHA1: 29B126355C750665D48BE54F421879908D78B063

php-5.3.3-nts-Win32-VC9-x64.zip

CRC32: 0358080C

MD5: 7E19FBE4F92512C20ECE7328FEDE040F

SHA1: 104DD1797858C8B20BD61FBA33F4311BB7D61A10

Update: I didn’t notice that the php_ldap.dll extension wasn’t compiled this time. It didn’t compile because as of PHP 5.3.3, it requires libsasl, which was missing. Anyway, I had to compile libsasl and then the php_ldap.dll which I am posting here separately.

I also took the time to compile eAccelerator for PHP 5.3.3 and also NTS version of WinCache which someone requested last time.

Additional Extensions

php_ldap.dll VC9 x64 Thread Safe

php_ldap.dll VC9 x64 Non Thread Safe

eAccelerator 0.9.6.1 VC9 x64 Thread Safe

eAccelerator 0.9.6.1 VC9 x64 Non Thread Safe

WinCache 1.1.0 VC9 x64 Non Thread Safe

Memcache 2.2.6 VC9 x64 Thread Safe

Memcache 2.2.6 VC9 x64 Non Thread Safe

Apache HTTP Server 2.2.16 x86 and x64 Windows Installers

Apache HTTP Server 2.2.16 was released day before yesterday that is 25th July 2010. And here are the 32 and 64 bit Windows binaries that I compiled. They have been compiled with Visual C++ 2008 (VC9) and contain the latest versions of openssl (1.0.0a) and zlib (1.2.5).

As before, the installers and binaries are digitally signed. The signatures should appear valid if you are using Windows 7 or 2008 or your Windows is up to date.

Download

apache_2.2.16-x64-openssl-1.0.0a.msi

CRC32: 0AA0250D

MD5: C6F2B24AFE22649C762FC7005DB4243E

SHA1: 89C807E1D3ACE1F8D9DA2878E5B871FD72CCD689

apache_2.2.16-x64-no-ssl.msi

CRC32: 774D542B

MD5: 1E95819C9EB1E0C0BDBD2BA4BBEBF477

SHA1: DC862A19DE043BC97A2FEC19DD1BE1A8166931CC

apache_2.2.16-x86-no-ssl.msi

CRC32: 5660CDAE

MD5: B1B4895EB8F68BCFF90201A86AF76D37

SHA1: EAABA10BAEA84764DB8AB90D7A24C39C96F49B34

apache_2.2.16-x86-openssl-1.0.0a.msi

CRC32: A39E5CCC

MD5: 4596D1C86ACC046B912F0C6C873C7B0B

SHA1: C93730728F785FF06DAC5293745A937585B43E4A

PHP 5.3.2 x64 (64 Bit) Windows Binary

Some of you requested that I compile 64 bit Windows binaries for PHP 5.3.2 since they are not officially available from the PHP website. And so, I did and you will find the download link at the end of this post. But first let me tell you about a bug in this release that may or may not affect you. 😀

I compiled PHP 5.3.1 a few weeks ago but noticed that scripts that used the mysql extensions were not working. I thought this was because of a problem with the mysql extensions in this particular build, since the scripts were working fine with a 64 bit build of PHP 5.3.0 that I downloaded from http://windows.php.net/qa/.

Yesterday, after I compiled PHP 5.3.2, I noticed the same problem. And after a lot of messing around I realized that the problem was because PHP was not resolving “localhost” to “127.0.0.1” and instead resolving to the IPv6 address “::1”.  As mentioned before, this problem is not there in PHP 5.3.0, so I believe its a bug in PHP.

A good workaround for this problem is to comment out “::1             localhost” in your “hosts” file (C:\Windows\System32\drivers\etc\hosts) if it isn’t already, and uncomment “127.0.0.1       localhost” if it is commented out by default, as is the case with Windows 7. Another workaround is to use “127.0.0.1” in your PHP scripts instead of “localhost”.

Also, I tried compiling the mysql extensions with libmysql instead of mysqlnd to see if the problem persisted. I was able to compile the php_mysql extension successfully with libmysql (the php_mysqli and php_pdo_mysql extensions failed to compile with libmysql), and noticed that the problem wasn’t there. Scripts that used the php_mysql extension to connect to the mysql database with “localhost” defined as the database host, were working fine. So, I have included the php_mysql extension compiled with libmysql with this release.

So far, this “localhost” resolution bug is the only one that I have come across in this release.

Anyway, this release also includes the php5apache2_2.dll module for use with 64 bit versions of Apache 2.2.

And here is the configure log for anyone interested in it.

Download

php-5.3.2-Win32-VC9-x64.zip

CRC32: A356949C

MD5: F16FF84C27CBB642B4ED1E25FE997F82

SHA1: DCCF68C0935ECE581D1F0208F6E8A27C265CBF03

ModSecurity 2.5.12 x64 (64 Bit) Windows Binary

I found out recently that ModSecurity 2.5.12 was out and so, as before, I compiled a 64 bit binary for use with 64 bit versions of Apache 2.2 on Windows. Once again, it was compiled with MSVC 9 (Visual C++ 2008) and includes libxml2 2.7.6 and lua 5.1.4.

I am currently using it myself with Apache 2.2.15 on Windows 7. For installation instructions, make sure you read the “README_FIRST.txt” file first. 😀

Download

modsecurity-apache_2.5.12-win64.zip

CRC32: 71D2A7FD

MD5: A86A2779191FBE7B6352ACEE7C3F7345

SHA1: 7A3329199794C967706610E2A25453402DCEBC27

Apache HTTP Server 2.2.15 x86 and x64 Windows Installers

Apache HTTP Server version 2.2.15 was released recently. It includes a number of important security and bug fixes. A changelog with further details can be found here. Thanks to Scott for notifying me about this new version. 😀

Below you will find the 32 bit and 64 bit windows installers. Like the previous releases, the binaries have been compiled with Visual C++ 2008 (VC9). The installers and binaries are digitally signed and the signatures should appear valid as long as your Windows is up to date.

apache_2.2.15-x64-openssl-0.9.8m.msi

CRC32: C7339B42

MD5: B471C2DE3F9F79CB6AD2A60D188054CB

SHA1: A00486B87F85DF2C155598F2202223009AC8E3F1

apache_2.2.15-x64-no-ssl.msi

CRC32: 24406DA6

MD5: 4BFB3105F7F720E23981784D341B13AB

SHA1: 24E9FCC1EC4E97EECDD3E70F4D2C14D5433A657B

apache_2.2.15-x86-no-ssl.msi

CRC32: A41C5A8A

MD5: 44A2C275DA428AB64BB2048A74BA5DDA

SHA1: FE1AF42748A5592A35C77757799FAC0A941A1307

apache_2.2.15-x86-openssl-0.9.8m.msi

CRC32: DBE16130

MD5: B9ED4DD6D2B8B70843D3E107DE420870

SHA1: 34A564792ECCB0451914515F39F85B6AC696CEF4

The 32 bit binaries have been tested with Windows XP and the 64 bit binaries have been tested with Windows 7.

ModSecurity 2.5.11 x64 (64 Bit) Windows Binary

ModSecurity

ModSecurity 2.5.11 was released on November 6, 2009. And so, here is the 64 bit binary for Windows. It also includes latest version of libxml2 (version 2.7.6).

For installation instructions, refer to the ‘install.txt’ file in the zip archive.

Download:

modsecurity-apache_2.5.11-x64.zip

CRC32: 231399B8

MD5: 6145769A5AB033AE97A7C2E7603A2F57

SHA1: D84F88289FAC06A77ABFDEA4322C85A277A60963