eAccelerator binaries for PHP 5.x (windows builds)
Updated: eAccelerator download using latest code (0.9.5.1 with PHP 5.2.2).
Please find following the compiled binaries of eAccelerator for Windows
using Microsoft VC++ 6. For PHP 4 versions:
eAccelerator binaries for PHP 4.x.
If you need a version not offered here, let us know (post comment).
eAccelerator windows binaries follow the naming conversion: eAcceleratorVVV_PHPVERSION.dll with:
VVV: the version of eAccelerator
PHPVERSION: the version of the targeted PHP
Example eAccelerator094_4.4.3.dll is built from eAccelerator version 0.9.4
targeting the php version 4.4.3.
You can rename your download following the "standard" names: eAccelerator.dll
eLoader.dll
Help with installing and configuring eAccelerator.
Technical Notes:
If a version of EA compiles directly, with no changes, you will not see an
additional "SiteBuddy" version. If you see a SiteBuddy version it means the
original code had to be modified with "known" published solutions to get it to
compile. The "SiteBuddy" version will be my custom brew.
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.
eAccelerator for PHP 5.2.6...
Hi All,
Just released the version for PHP 5.2.6.
Please provide feedback (if you are already experience with running eAccelerator successfully).
Thanks,
Chris
It just work fine for
It just work fine for me
Thanks again
Thanks Bagu for the
Thanks Bagu for the feedback...
Anybody out there?
Has anybody compiled EAC for the new PHP version yet? I'd like to update to 5.2.5 ASAP, and EAC is the only thing holding me back. :-(
Thanks for the help.
eAccelerator 0952 for php 525 released...
Sorry for the delay guys,
Should available now.
Can the first experienced user post back if works and not?
Thanks,
Chris
problem
I've downloaded
eAccelerator 0952 for PHP 5.2.5
eLoader 0952 for PHP 5.2.5
and 0952_final_useful _files.zip
I tried to encode a file with encoder.php and the
file was encoded, but when I open it in browser
I get this message:
Fatal error: Invalid opcode 40/1/8. in C:\..\eaccelerator\prova_en.php on line 2
I think Apache is well configured, cause it doesn't show any error
My conf is Apache/2.2.6 (Win32) PHP/5.2.5 and from my php.ini:
[eAccelerator]
extension=eaccelerator.dll
;eaccelerator.shm_size = "0"
eaccelerator.cache_dir = "C:\Web_Pg\tmp"
eaccelerator.enable = "1"
eaccelerator.optimizer = "1"
eaccelerator.debug = "0"
;eaccelerator.check_mtime = "1"
;eaccelerator.filter = ""
;eaccelerator.shm_max = "0"
;eaccelerator.shm_ttl = "0"
;eaccelerator.shm_prune_period = "0"
;eaccelerator.shm_only = "0"
;eaccelerator.compress = "1"
;eaccelerator.compress_level = "9"
eaccelerator.keys = "shm_and_disk"
eaccelerator.sessions = "shm_and_disk"
eaccelerator.content = "shm_and_disk"
;eaccelerator.admin.name =
;eaccelerator.admin.password =
extension=eloader.dll
Does anyone have any ideas?
Works great!
Chris,
Looks like this version is running great on my dev box. I'll be upgrading my live website with it very soon.
Thanks as always!
Thanks smithrn...
Thanks for the quick feedback!
Work fine and really fastest
Work fine and really fastest than every other version i use before
PHP 5.2.5
PHP version 5.2.5 is out.
The speed has improved since PHP 5.2.4.
Chris can you make a new compile of eAccerlerator for PHP 5.2.5?
Thanks,
Willem
Thanks wbartels...
Thanks wbartels for the heads up on speed improvements!
PHP 5.2.5 speed
The new compile for PHP 5.2.5 is working well.
Also the speed with eAccelerator has improved and is now the same as PHP 5.2.3 with eAccelerator.
EA 9.5.2 with fastCGI
I'm testting PHP 5.2.4 with the last built of fastCGI (so in fastCGI mode) on IIS6 and EA 9.5.2.
With the non thread safe build of PHP 5.2.4, the EA dll do not work.
PHP Startup : unable to load eaccelerator.dll
Any thing to do ?
Regards
Philippe
Hi Philippe,The EA 0.9.5.2
Hi Philippe,
EA 0.9.5.2 is currently running on many servers withourt any issue.
Using a tool like FileMon (File Monitor) try to see is all is good at the file system level (file location + access permissions):
File Monitor.
If all is good at the file system level try to run directly PHP with EA (no fastcgi).
Note: Since PHP 5.2.2 (if I recall correctly) the stack PHP 5.x + EA 0.9.5.X has been very stable. In order waords FastCGI might not be needed for now...
Cheers,
Chris
PS: Also check your eventviewer, sometimes the error messages are more detailed.
non-thread safe PHP - php5ts.dll
Dear Chris ..
The problem is that EA is compiled/linked against the thread safe version of php. Hence it requires the php5ts.dll file which is not available with the non-thread safe version of php. The file is called php5.dll in the non-thread safe php version. Typically the non-thread safe version of php is used in conjunction with FastCGI.
If you have the chance it would be great if you can offer the binaries for the non-thread safe version of php as well. However I'm not sure if caching offers much performance benefits with a FastCGI/non-thread safe PHP setup. But I'm be willing to test it and provide some feedback.
Thank you.
Best Regards,
Mat
Hi Mat,Here is what a
Hi Mat,
Here is what a posted about this a few months ago:
"I get linking errors do you know if it needs additional libraries.
Sample of error:
Creating library Release/eAccelerator.lib and object Release/eAccelerator.exp
cache.obj : error LNK2001: unresolved external symbol __imp__tsrm_mutex_unlock
.../...
Release/eAccelerator.dll : fatal error LNK1120: 13 unresolved externals
Error executing link.exe."
http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds#comment-1389
The best is probably to use the TS version.
http://www.sitebuddy.com/forum/eaccelerator/php_5_2_1_non_thread_safe_eaccelerator
Cheers,
Chris
ZTS precompiler
I have quickly inspected the eAccelerator source code and it should work with the NTS version of PHP:
For example:
File: eaccelerator.h
#ifdef ZTS
# define ZTS_LOCK() tsrm_mutex_lock(ea_mutex)
# define ZTS_UNLOCK() tsrm_mutex_unlock(ea_mutex)
#else
# define ZTS_LOCK()
# define ZTS_UNLOCK()
#endif
File: eaccelerator.c
#ifdef ZTS
ea_mutex = tsrm_mutex_alloc();
#endif
It means that only if the preprocessor directive ZTS is defined it uses the synchronization functions. When you compile eAccelerator for the NTS version of PHP you have to make sure that the ZTS is NOT defined in preprocessor definitions (in VS.NET right click on the project then Properties then C/C++ -> Preprocessor -> Preprocessor Definitions).
Regards,
Mat
None Thread Safe...
Set to compile against php5.lib + zts=0 still gives me similar errors (see previous message).
why eloader don't work?
when i encode php source code by eaccleator,it said "PHP Warning:PHP Startup:Invalid library(maybe not a PHP library) 'eloader0952_5.2.4.dll' in Unknown on line 0"?and the encoded page don't work also,it said "the page not found"
I don't think eLoader is maintained...
I don't think eLoader is maintained by Bart for now....
From Bart's site:
"WARNING: The encoder and loader DO NOT support php 5.1 nor php 5.0 and contain a lot of bugs for php 4. This is the last release in which the encoder/loader functionality will be available. Later a new encoder/loader might be included but there aren't any plans for that right now. "
You might want to check with Bart about his plans for eLoader. Let us know if you do.
Thanks,
Chris
Just installed 5.2.4. and
Just installed 5.2.4. and eAccelerator.
I'm not sure if the speed is improved or not, but i think it is a little slow. I will test now without eaccelerator.
Any chance to see eAccelerator 0.9.5.2 for php 5.2.4 any time soon?
Thanx!
Released eAccelerator 0.9.5.2 for PHP 523 & 524
The main fix in ea 0952 is:
"This release fixes the optimizer bugs with php 5.2 that caused exception handlers to be optimized out."
Thanks Bart for another great eAccelerator release!
Chris
PS: Feedback welcome (works or not?, faster or slower? ...).
It work well but need to
It work well but need to flush the cache.
With php 5.2.4 + ea 0.9.5.1 : 0.23ms
With php 5.2.4 + ea 0.9.5.2 : 7.53ms before flush 0.19ms after flush
Thanks Bagu... Good tip.
Thanks Bagu...
Good tip.
where can i download eloader?
where can i download eloader for php5.2.4?thank.
I've just uploaded eLoader
I've just uploaded eLoader for php 5.2.4.
eAccerlerator 0.9.5.2
eAccelerator 0.9.5.2 is out...here are the release notes:
PHP 5.2.4 slower
On my system eAccelrator for php 5.2.4 improves the speed.
But the overall performance is much slower compared to PHP 5.2.3
A scripted that I have timed gives:
PHP 5.2.3: 20 ms
PHP 5.2.3 + eAccelrator: 12 ms
PHP 5.2.4: 28 ms
PHP 5.2.4 + eAccelrator: 20 ms


delicious
digg
reddit
google
technorati
Need php 5.2.6 version
Please can you compile it ?
Thanks