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.
VC9 x64 Thread Safe
VC9 x64 Non Thread Safe
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.
thank you very much!
Thank you so much! It’s very much appreciated!
YOU ARE INFINITE!!! ;D thanks!
Amazing work – Cant thank you enough !!
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?
this has been loooooooooooooooooooooooooooooooooooooooooooooooong waited!!!
AMAZING WORK!!!! 🙂
You are all welcome. And thanks for the compliments. 😀
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.
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)
Thanks for this!
Anyway to prevent Apache from crashing when the APC extension is enabled?
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) 🙂
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 a lot for uploading the nts versions of the additional extensions! They are running fine!
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!
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 🙁
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.
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”.
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.
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.
Thanks for the great work 🙂
Great work. Is it possible for you to avail PHP_PRINTER.DLL for Windows x64 as well?
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:
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?
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.
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.
is it possible to have x64 version with readline enabled?
Bzip2 support, at http://www.php.net/manual/en/bzip2.installation.php it said:
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.
bzip2 compression disabled (install pecl/bz2)
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
Readline is not available for Windows. http://www.php.net/manual/en/intro.readline.php
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”).
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.
php 5.3.9 is release please modfify x64!
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
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!
Hi, I’m newbie. How to install this version of PHP? Have I to make binary from this?
I just posted PHP 5.3.9 a few minutes ago. http://www.anindya.com/php-5-3-9-x64-64-bit-for-windows/
Sorry, I can’t compile PHP 5.4.0RC right now. Will try after final version is released.
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.
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.
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.
Where did you download the extension from? If it’s 32 bit PHP, then download the extension from here – http://downloads.php.net/pierre/.
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)
Isn’t apache supposed to be used with the VC6 versions of PHP? That’s what it said on the PHP website I thought.
I have no idea where to get the sources to compile php_java.dll and php5servlet.dll.
Nope. Only the official Apache builds from http://httpd.apache.org are supposed to be used with VC6 versions of PHP.