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.
VC9 x64 Thread Safe
VC9 x64 Non Thread Safe
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.
Thank you !! you my hero !
Thanks for the php_http.dll x64 extension…
It is awesome!
The only thing I am missing is the php_zip. Did you already try to compile it?
@cvat, @Dtavare and @david
You’re welcome. 😀
The php_zip extension is present as a static extension which is why there is no php_zip.dll file. Check your phpinfo().
I just upgraded from php5.2. Didn’t know it was static! Great!
Anindya, thank you!
btw, is this a bug: enabling APC extension leads to many errors such as “Notice: Unknown: 1. h->opened_path=[null] …” in every php file, and gives warnings and notices with every include and require? The only bug report fitting the description is here: http://pecl.php.net/bugs/bug.php?id=17141
Everything works fine with ‘apc.cache_by_default = 0’ though..
also, check this out: http://pecl.php.net/bugs/bug.php?id=19836
disabling memprotect may resolve the issue
Ah, memprotect was probably enabled by the “–enable-snapshot-build” flag. Will compile it again without memprotect. Thanks for letting me know. 🙂
Here is the php_apc.dll without memprotect. Try it.
All errors are gone now, thanks a lot!
hi, I tried to download this. but link was not working. can you upload the sf again.
Sorry for the late reply. By the time I saw your comment the links were working again. I hope you were able to download by now. 🙂
Thanks so much for both PHP and Apache, running both of your builds here.
Anyone else have problems enabling the GetText extension, for me PHP stops working ?
Hi, thanks for a great release.
I use curl a lot. After enable the php_curl.dll extension php/apache wont start, complaining about php_curl.dll isn’t “a vaild Win32-program”
Any idea about this?
sorry for my reply, should have searched more…
here’s how to fix curl:
1. Curl depends on ssleay32.dll and libeay32.dll they’re in the php folder.
2. Be sure those files are accesible in a folder of the path.
I can enable gettext extension without any problems. So not sure why you are having trouble enabling it.
You can also just add the php folder to the Path environment variable.
Hi all, and thanx for your job.
btw, i cannot run php5.3.4×64 with YOUR Apache 2.2.17×64:
commenting out lines for php in httpd.conf (LoadModule… AddType… PHPIniDir) apache works… when i try to “run” it with php534 apache do not start.
Windows Events Log says:
Nome dell’applicazione che ha generato l’errore: httpd.exe, versione: 22.214.171.124, timestamp: 0x4cc421d6
Nome del modulo che ha generato l’errore: php5ts.dll, versione: 126.96.36.199, timestamp: 0x4d0904d8
Codice eccezione: 0xc0000005
Offset errore 0x0000000000127929
ID processo che ha generato l’errore: 0x1920
Ora di avvio dell’applicazione che ha generato l’errore: 0x01cbb676acf97e04
Percorso dell’applicazione che ha generato l’errore: C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe
Percorso del modulo che ha generato l’errore: C:\php\php5ts.dll
this error occurs with every your php5.3×64 version…. with ver. 5.2.6×64 it works well..
(“C:\php” is in system path variable correctly)
Any idea to solve this? Thank you in advance..
What extensions have you enabled in your php.ini file? Please post both your httpd.conf file and your php.ini file if possible. Also, you have not mentioned the version of Windows that you are using.
Who have PHP 5.3 vc6 x64 for Apache?
Maybe Apache is using the old php5ts.dll somehow! Possibly there is another version of the file in a “higher” place reguarding the order of your %PATH%-variable (Maybe in your Windows/system32-folder)
PHP 5.3.5 and OpenSSL 1.0.0c (Apache) are available
I don’t think it’s possible to compile 64 bit PHP binaries with VC6 since it does not have 64 bit compiler. Why do you want VC6 binaries anyway? Even in the case of 32 bit PHP, the VC9 binaries provide better performance compared to VC6 ones.
Thanks for letting me know. I will try and compile PHP 5.3.5 on this weekend. And I will include the latest version of OpenSSL with the next release of Apache.
Thanks for these. I was looking for APC that worked with WAMP 2.1e 64bit on Windows 7 and these worked perfectly.
Just a suggestion, can you update your original post with the updated php_apc.dll without memprotect as I’m sure a lot of people won’t go looking through the comments to find the version that works nicely.
Sorry, I meant WampServer 2.1d. Apparently I can’t edit my comment.
my machine: windows 7×64…
I got it….
I worked hard to find the process wich was listening on port:80 and caused installation troubles…(SQL reporting service..!!!)
just uninstall that…and now my “orchestra” is playing good..!
bye… and thx to all… 😉
Pieter du Plooy
Is it possible for you to give me an ETA of when the 5.3.5 64 bit binary will be finished?
I was thinking about compiling it last weekend but didn’t get time. Will try to compile tomorrow or definitely this weekend.
Do you plan to publish a fresh version of php x64 and apache x64 today?
If not, I will be very appreciated, if you specify the ETA 🙂 Thank you very much!
Yes, new version of PHP but not Apache. There hasn’t been any new version of Apache since 2.2.17. Will post 2.2.18 when it’s released.
I already compiled PHP 5.3.5 yesterday and will post it today after some testing.
Thank you very much! 🙂
Seems the APC link is dead again.
You can find APC 3.1.6 in the PHP 5.3.6 post – http://www.anindya.com/php-5-3-6-x64-64-bit-for-windows/. I will compile newer version along with the next version of PHP 5.3.
How do I get PEAR installed with this build?
Hi, i need to find out what specefic apc version i need.
PHP version: 188.8.131.52
Thread Saftey Enabled
Apache Version 184.108.40.206
OS : Windows Server 2008 R2 x64
Each php_apc.dll i try causes apache not to load, any tips would be appreciated.
Thank you sooooooooooooooooooooo much! n_n
Hello, thank you for posting. I wonder if you can help me, I’ve been trying to install apc on wamp 2.2 on a windows 7 x64 to no avail. I see you have a lot of apc dlls on your downloads on mediafire, I can’t imagine why. Must all of them be installed, (obviously not), then which of them? I downloaded php_apc without memprotect and was able to select it in the task switcher on wamp, I also added the extension and the following:
apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 64M
apc.max_file_size = 10M
apc.stat = 1
to php.ini, next, downloaded apc.php from http://svn.php.net, but my phpinfo() file doesn’t show apc no matter what I do, and apc.php says it isn’t running.
Need help i download apc.dll from your link : http://www.mediafire.com/file/jugie86axdfxod6/php_apc.dll
I get the error:
PHP Warning: PHP Startup: apc: Unable to initialize module\nModule compiled with module API=20090626\nPHP compiled with module API=20100525\nThese options need to match\n in Unknown on line 0
I’m using wampserver 2.2 php 5.4.3 apache 2.4.2 or 2.2.22, Compiler :MSVC9 (Visual C++ 2008)
Don’t know which dll i need ..Help please…
Thanks in advance
Mince!! ça devenais même quoi? Depuis 2h,?, tuips.
Tu m’as sauvé gars! merci.