Finally! Here are the 64 bit binaries of PHP 5.3.8 that many of you have been waiting for. 😀
Sorry it took so long for me to compile and post them. I noticed that some extensions in the official PHP builds were compiled against newer versions of external libraries like libcurl, libxml2, etc. I wanted to use newer versions too and so I had to spend additional time compiling them. Compiling some of them took longer than I expected.
Anyway, here are the downloads.
Download
VC9 x64 Thread Safe
CRC32: 85024CA5
MD5: 930861267D415E2741EEDAB124C3A630
SHA1: 45BCBE856B86BF422DE1356C2765E97C3D4C3F84
VC9 x64 Non Thread Safe
php-5.3.8-nts-Win32-VC9-x64.zip
CRC32: D5647FA3
MD5: 6159841043FD2D7BD2DEFCA55A5D1B72
SHA1: 035002B60A8EE536C0B9AB299F115A65FE70420A
Additional Extensions
Additional extensions can now be downloaded from here – http://www.mediafire.com/?1azaglova55tt
Right now you can find thread safe and non thread safe versions of APC, dbase, eAccelerator, geoip, http, memcache, mongo, printer, ssh2 and win32service.
zmcjs
thank you very much!
Michael
Thank you so much! It’s very much appreciated!
zephew
Thank you!!!
dioskey
YOU ARE INFINITE!!! ;D thanks!
MIndless
Amazing work – Cant thank you enough !!
Nick
Thanks.
I have to note though that the value of PHP_INT_MAX still seems to be 2147483647, rather than um… a really big number for 64-bit ints. Is this intentional, or a bug, or did I do something wrong in my setup?
atk
this has been loooooooooooooooooooooooooooooooooooooooooooooooong waited!!!
nunu
AMAZING WORK!!!! 🙂
Anindya Author
You are all welcome. And thanks for the compliments. 😀
@Nick
It is a bug but unfortunately I cannot fix it. And it is very unlikely that the php developers will fix it since this is not an official build and there are no official 64 bit builds for Windows.
If you really need to use such large numbers, right now your only choice is to use linux.
Mika
For some reason i cannot use webmail programs with your x64 builds. Imap connections are not working. With official x86 build they work. Can you investigate to this problem.
My OS: Windows 7 x64 SP1, Finnish (All latest updates)
Enjay
Thanks for this!
Anyway to prevent Apache from crashing when the APC extension is enabled?
sam
Why don’t you just use BCMATH for 64bit ? works great.
The main thing you need to consider is that you need 64bit UNSIGNED – otherwise you will overflow your auto_increment when you hit the signed 64bit INT.
BTW why not just add a BIGINT type and BIGINTU type? then you can tell the sql srver drivers to pull in the identity as a string and cast it (BIGINTU) or (BIGINT) ??
If you can make us an easy way to compile this using VS – i’ll be glad to give it a shot. Heck every other language has 64bit int support in 32bit.
If you check out mongodb they have 64bit support extensions (they cast it as an object) for their database.
right now i’ll use a BCMATH or GMP and tell SQLSRV/PDO::SQLSRV 3.0 driver to send bigint as string then recast it to 0 precision type.
Then you have a ginormous auto_increment – most folks that use 64bit INT’s use them for simple stuff like identity – everyone else realizes the BCMATH and GMP extensions are better.
Post up a package with easy docs and i’ll give it a shot to add a new type. I think it would be easier than trying to make INT 64bit and it’s not hard to change your code to change all casting of (integer) to (bigint) 🙂
annika
Hi,
have you found some time to compile the nts versions of the additional extensions like eaccelerator or ssh2.
i still cannot find them under the given mediafire folder.
Thanks.
/annika
annika
thanks a lot for uploading the nts versions of the additional extensions! They are running fine!
annika
mmh, after some testing eaccelerator throws “premature end of script headers” get overlap result error… when disabling ea all work fine. 🙁 Seems to be a bug in ea on x64 systems.
but thanks for your effort anyway!
Will T
Thank you so much for all your hard work. I’m sure it’s very difficult to keep on having to keep things up to date.
I had one question/request, have you been able to get a 64bit version of the MS SQL driver? If not, is this something that you’d be willing to accomplish in the future?
Harry DS Alsyundawy
thx great release, can i req for php 5.2.11 & 5.2.17 x64 build with mssql, zend, php-eaccelerator enable ?
btw big thx again for release php 5.3.8 x64
Harry DS Alsyundawy
wew missing php_mssql files 🙁
Anindya Author
@Mika
Sorry for the extremely late reply. Anyway, I tried Roundcube webmail and it is working fine in my case. I also checked the imap extension (even though Roundcube doesn’t need it) and it also seems to be working fine. So, if webmail programs aren’t working for you, there must be something wrong with your setup. I did notice that my firewall automatically created a rule for php when I was testing roundcube, so maybe you should also check your firewall settings.
@Enjay
Sorry for the late reply. If you are using Windows 7 or 2008, try the new APC extensions that I have uploaded with file names ending in “win7-2008”.
@Will T
Unfortunately, a 64 bit version of the MS SQL driver isn’t available. And it’s not possible to compile a 64 bit driver from source either. The source code needs to be updated so that a 64 bit version can be compiled and from what I can see there has been no new updates to the source after December 2010 (http://sqlsrvphp.codeplex.com/SourceControl/list/changesets). Also, from this thread you can see that they have no intention of releasing a 64 bit driver until official 64 bit PHP distributions are available.
@Harry DS Alsyundawy
You can try the php_dblib.dll extension which is an alternative to the php_mssql extension.
By the way, compiling PHP can be a time consuming process and I am not willing to spend time compiling older versions of PHP.
sweetrommie
PHP_INT_SIZE is still 4, so it seems it uses 32 bit integers for calculations.
I am aware of this because of using low level functions pack/unpack for getting big-endian integers, and try to check if everything would work on 64 bit system.
Any one knows other options for reading binary data?
Well i will probably try it on 64 bit Linux.
Anyway greats thanks for binaries.
Kev
Thanks for the great work 🙂
Sakhi
Hi Anindya
Great work. Is it possible for you to avail PHP_PRINTER.DLL for Windows x64 as well?
jw
I installed PHP 5.3.8 x64 (64 Bit) for Windows in Subversion Edge 2.1 (Apache 2.2.21) and just want to say that they work together.
However I have a question:
php.exe –version
php.exe -i
do not print anything to stdout.
In contrast, the older versions (5.3.3 32 bit, or 5.2.5 64 bit do print information).
Why 5.3.8 does not print anything? May be some module has been forgotten?
Anindya Author
@jw
Both “php –version” and “php -i” are working fine for me. Unfortunately, I have no idea why they aren’t working for you. You should try entering the full path to php.exe (eg. C:\php\php.exe) and see if it works.
Anindya Author
@Sakhi
I have compiled the php_printer.dll extension and you can download both thread safe and non thread safe versions from here – http://www.mediafire.com/?1azaglova55tt.
Ali
is it possible to have x64 version with readline enabled?
Thanks
maplewang
Bzip2 support, at http://www.php.net/manual/en/bzip2.installation.php it said:
Installation
Bzip2 support in PHP is not enabled by default. You will need to use the –with-bz2[=DIR] configuration option when compiling PHP to enable bzip2 support.
I am running a Phpmyadmin, it compained with no Bzip2 support, though I have opened extension=php_bz2.dll in php.ini.
maplewang
phpinfo stated:
bzip2 compression disabled (install pecl/bz2)
Dave Drury
Hi Anindya,
As always thanks for all the work you do.
I have a problem with a system I run which is giving an error message which infers that PCRE was compiled without UTF-8. I’m pretty sure this is a red herring but an easy one to prove by checking with you!
Thanks once again
Dave
Anindya Author
@Ali
Readline is not available for Windows. http://www.php.net/manual/en/intro.readline.php
@maplewang
bzip2 is working fine for me. Make sure you have set extension_dir to the directory where your extensions are located (eg. extension_dir = “C:\php\ext”).
@Dave Drury
I didn’t compile PCRE separately. It is bundled with PHP. Also, preg_match seems to be working fine in my case with UTF-8 strings and expressions.
zmcjs
php 5.3.9 is release please modfify x64!
Otomatic
Hi,
Thanks for all your work. Apachelounge and MySQL have Windows 64-bit versions; Only PHP does not.
I expect a 64-bit version PHP 5.3.9, and if in the process, we could have a 64-bit version of PHP 5.4.0RC, it would be happiness. 😉
Thanks once again
Dominique
Eric
First of all, thank you so much for providing these x64 binaries.
I was especially looking out for the eAccelerator extension.
Unfortunately, the link for the thread safe version “eAccelerator-0.9.6.1-5.3.8-VC9-x64.zip” appears to be broken.
Could you please restore the link?
Thank you very much!
Michal
Hi, I’m newbie. How to install this version of PHP? Have I to make binary from this?
Anindya Author
@zmcjs
I just posted PHP 5.3.9 a few minutes ago. http://www.anindya.com/php-5-3-9-x64-64-bit-for-windows/
@Dominique
Sorry, I can’t compile PHP 5.4.0RC right now. Will try after final version is released.
@Eric
PHP 5.3.9 is available now so you should upgrade as soon as possible.
And it was probably due to a temporary issue with mediafire due to which you were unable to download eAccelerator.
@Michal
All you need to do is extract the zip file to a location of your choice like “C:\php” and then configure your web server. Configuration instructions for Apache are available here – http://www.php.net/manual/en/install.windows.apache2.php.
tareq
Hey Anindya,
I have installed XAMPP 1.7.7 , in that I have got PHP-5.3.8.
Issue: After installation, I dint get any memcache module in php.ini.
I have tried to add memcache extension 😉 but it dint work for me.
Please suggest me some thing why this happening with XAMPP-1.1.7.
Thank you
Anindya Author
@tareq
Where did you download the extension from? If it’s 32 bit PHP, then download the extension from here – http://downloads.php.net/pierre/.
sanky
Is it possible to get php_java.dll ,php5servlet.dll,php5ts.dll for 64 bit as i need to run php application in tomcat on windows 7 (64 bit)
Mike
Isn’t apache supposed to be used with the VC6 versions of PHP? That’s what it said on the PHP website I thought.
Thanks
Mike
Anindya Author
@sanky
I have no idea where to get the sources to compile php_java.dll and php5servlet.dll.
@Mike
Nope. Only the official Apache builds from http://httpd.apache.org are supposed to be used with VC6 versions of PHP.