eAccelerator binaries for PHP 5.3+ (windows builds) Part 2
eAccelerator download using latest code (0.9.6.1 with PHP 5.3.3).
Please find following the compiled binaries of eAccelerator for Windows using Microsoft Visual Studio. For PHP 4 versions:
eAccelerator binaries for PHP 4.x.
For PHP 5 (pre 5.3 release) versions: eAccelerator binaries for PHP 5.x.
eAccelerator windows binaries follow the naming conversion: eAcceleratorVVV_PHPVERSION.dll with:
VVV: the version of eAccelerator
PHPVERSION: the version of the targeted PHP
Example eAccelerator0961_5.3.3.dll is built from eAccelerator version 0.9.6.1
targeting the php version 5.3.3.
You can rename your download following the "standard" names: eaccelerator.dll
(eLoader.dll has been dropped from eAccelerator)
Help with installing and configuring eAccelerator.
File details, when applicable:
VERSION_Useful_File.zip contains the readme and the divers php files (control panel etc...).
Following you can download the eAccelerator binaries for your version of PHP
5.
Please post any positive or negative experience you have using these downloads. Avoid posting bugs related to
eAccelerator (binary bugs will most likely appear immediately: when loading or first use). Post only issues relating to the eAccelerator downloads or requests. Please do not post support issues about eAccelerator
under this article.
You can do so in the eAccelerator Section of the Forums.
Sorry for the delay for this version. Since php 5.3 eaccelerator would not compile with Visual Studio 6. Until I slapped it around that is ;-)
For the VC 9 releases you need the VC 9 (VC 2008) Redistributable Package Microsoft Visual C++ 2008 Redistributable Package (x86)


Delicious
Digg
Reddit
Google
Technorati
it seems that the newest dll
it seems that the newest dll file for VC9 is still wrong.
When I tried to run the command "php -i", it shows:
===============================================================
Warning: PHP Startup: eAccelerator: Unable to initialize module
Module compiled with build ID=API20090626,NTS,VC8
PHP compiled with build ID=API20090626,NTS,VC9
These options need to match
===============================================================
New tested eaccelerator for php 5.3.3 VC9
Thank you all, for the feedback (even I read all comments).
I released a new version (tested the NTS DLL it loaded).
Please provide feedback.
Thanks,
Christophe
Hi Chris, seems the .dll
Hi Chris, seems the .dll file is compiled with VC9(visual studio), but mine PHP is the VC6 version. So while you start Apache, it show an error message.
Could you give an eAccelerator.dll compiled by VC6? I really appreciate your work.
Finally new release of eaccelerator for php 9.3.3
Sorry for the delay guys no one sent me the notice that since 5.3 php does play nice with Visual Studio 6.0. It complied well with a newer version of Visual Studio.
Please give me feedback on these DLLs.
Thanks!
The official php windows
The official php windows binaries are either VC9 or VC6, but at least the TS-DLL seems to be built using VC8, so it won't load:
eAccelerator: Unable to initialize module
Module compiled with build ID=API20090626,TS,VC8
PHP compiled with build ID=API20090626,TS,VC9
These options need to match in Unknown on line 0
Using Apache/2.2.16 (Win32) PHP/5.3.3 on Windows 7 x64.
Thanks for your work!
Need Microsoft Visual C++ 2005 SP1 Redistributable Package
Hi Guys,
Thank you for the feedback. Do you have the Microsoft Visual C++ Redistributable Package installed on your system?
I've also attached the "manifest" for both release. For what I understand these should be in the same folder as the extension. Also extension DLL file name should be:
eAccelerator_ts.dll (for TS)
eAccelerator.dll (for NTS)
So they match the assembly filename.
Let me know how that works.
Thanks,
Christophe
Got some this info from:
Redistributable Assemblies, WinSxS and VisualStudio 2005
Hello! I use Apache 2.2.16
Hello!
I use Apache 2.2.16 with PHP 5.3.3 VC6 x86 Non Thread Safe via fcgid on a Windows Server 2003 R2.
When starting Apache with eacceleator enabled in php.ini I get the following error in the windows evenlog:
"Generate Activation Context failed for C:\php\ext\eAccelerator.dll. Reference error message: The referenced assembly is not installed on your system. "
together with:
"Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system."
I have installed Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
Could you give me a hint what to do?
Thank you!
working release for eAccelerator with PHP 5.3.3 (VC6)
Finally, I got a working release of eAccelerator with PHP 5.3.3 (VC6). I tested (TS version the standard build of PHP are TS: thread safe) and its working great!
VC6 is super important since Apache is officially distributed with binaries built with VC6.
Enjoy!
Also release version for php 5.3.3 compiled with VC9 (since that is the other distribution from php.net). Watch out standard distribution of Apache for Windows should use the VC6 versions.
I removed the VC 8 version (Visual Studio 2005) since most should not need that version. For those using the VC9 version let me know if you need a link to the Redistributable Package from Microsoft. The dependency is on Microsoft.VC90.CRT version 9.0.21022.8. You should have a folder like: C:\Windows\winsxs\x86_microsoft.vc90.mfcloc_1fc8b3b9a1e18e3b_9.0.21022.8_... on your system....
Now it's working! Thank you
Now it's working! Thank you very much!
(Apache/2.2.16 (Win32) PHP/5.3.3, official VC6-TS-binaries)
VC9 dlls are still VC8?
Hi
The VC9 versions still say they are compiled with VC8 and won't load:
eAccelerator: Unable to initialize module
Module compiled with build ID=API20090626,TS,VC8
PHP compiled with build ID=API20090626,TS,VC9
These options need to match in Unknown on line 0
New VC9 build
I released a new VC 9 build.
Here is he eAccelerator.dll.intermediate.manifest file content:
Let me know if this works well.
Thanks,
Christophe
Correct Microsoft Visual C++ 2005 SP1 Redistributable Package
I update the link to the correct version:
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
To check the version, you should see a folder like this one:
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989
That's the correct version: 8.0.50727.4053
The other download was 8.0.50727.3053
Let me know if that works for you!
Hi Chris, I have the correct
Hi Chris,
I have the correct version in my server
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989
I have tried using the following window binaries but my apache just hung:
eAccelerator 0961 for PHP 5.3.3 Thread Safe (TS) VC6
eAccelerator 0961 for PHP 5.3.3 Thread Safe (TS) VC9 build 9/16
Do i need to install anything else beside putting the eaccelerator.dll into the php extension and add the following in php.ini?
extension="eaccelerator.dll"
eaccelerator.shm_size="64" ; 20MB per heavy site ?
eaccelerator.cache_dir="D:\tmp\eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
; 0 should be faster but will skip checking the modified date on your cached files eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0" ( I have used 3600 = 1 hour)
eaccelerator.shm_prune_period="0" ( testing 1800)
eaccelerator.shm_only="0" (testing 1 this seem noticeably faster?)
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys = "shm" (testing)
eaccelerator.sessions = "shm" (testing)
eaccelerator.content = "shm" (testing)
For the VC 9 release you need the VC 9 (VC 2008) redis. package
For the VC 9 releases you need the VC 9 (VC 2008) Redistributable Package
Microsoft Visual C++ 2008 Redistributable Package (x86)
The build 9/16 will depend on this version: 9.0.21022.8
PHP Warning: PHP Startup:
PHP Warning: PHP Startup: eAccelerator: Unable to initialize module Module compiled with build ID=API20090626,TS,VC8 PHP compiled with build ID=API20090626,TS,VC9 These options need to match in Unknown on line 0
No go on the VC9 compiled eAccelerator still shows it was done with VC8.
Hi Chris, I have install the
Hi Chris,
I have install the latest VC9 (9.0.30729.1) but still unable to start my Apache server.
Does it work on the build 9/16?
Also, I noticed my previous VC8 is still there, will it interfere will the build 9/16?
Thanks,
Zam
Hi Zem, I released new
Hi Zem,
I released new version for VC9. For standard distribution of Apache you should you the VC6 version.
If you did a custom Apache build with VC9 then use the VC 9 version.
Cheers,
Christophe
PS: For the VC 9 releases you need the VC 9 (VC 2008) Redistributable Package
Microsoft Visual C++ 2008 Redistributable Package (x86)
New CV9 version
Hi Chris,
Thanks for your update.
I have downloaded both the new VC9 build and the MS C++ 2008 Redistributable Package (x86).
I tried it out on my Apache 2.2.16 but it still cannot work.
When i tried to restart my Apache, it will hang the Apache server.
Did I miss out anything?
If using the official apache...
If using the official Apache release (you need the VC6 versions). In other words your the Apache,php and eAccelerator builds needs to all be compiled with the same version of VC (ie VC6 or VC9).