eAccelerator is not installed
Submitted by Anonymous on May 23, 2006 - 14:49
Hi,
I've followed your instruction on how to setup and install eAccelerator.
I'm using IIS6.0, PHP5.1.4, and eAcceleratorCVS_5.1.4.dll on your website.
The eAccelerator appears on my phpinfo, but still I cannot get the web interface to work.
I've already put admin user and pass in php.ini that generated by the script. Also I have modified the eaccelerator.php by adding :
$_SERVER['PHP_AUTH_USER'] = "PhpAdminName";
$_SERVER['PHP_AUTH_PW'] = "";
But it still doesn't work. It keeps showing "eAccelerator is not installed". I've also restarted my IIS.
Please help

Delicious
Digg
Reddit
Google
Technorati
the new CONTROL.PHP replaces eaccelerator.php
I made the same error - with the new 0.95 builds and the CVS, control.php has all the control panel functions. The password is hardcoded into the php (don't forget to change).
I'm not using 5.1.4 myself
I'm not using 5.1.4 myself yet. I recall reading somewhere that the .htm files (web interface...etc...)were updated.
Solution:
Get the CVS version of eAccelerator.
Un-tar or Un-zip the files and look at the control.php file. The new control panel for eAccelerator.
Try to avoid dealing with password protection with EA until you have it working. I'm not sure this is still an option with 0.9.5CVS.
Then once you have it working introduce the password protection feature.
Also it looks like now we have a new variable "eaccelerator.allowed_admin_path "
Here is an extract of the readme file with CVS 0.9.5 (05_23_2006):
".../...
If you want to use the control-panel you need to compile eAccelerator with
--with-eaccelerator-info which is the default value.
You need to copy the control.php file to your webroot and set the path to it
in the php.ini or eaccelerator.ini in the eaccelerator.allowed_admin_path
directive. If you don't do this you wont be able to see much information and
can't control eAccelerator.
You can set the username and password needed to access the control-panel in
the control.php file.
When you compile eAccelerator with --with-eaccelerator-disassembler you need
to place the dasm.php file also in the same directory as the control.php file.
You can set the username and password needed to access this file at the top
of the file.
.../..."
Hope this helps...
Thank you very much
Thank you very much Chris,I'm really appreciated your help.
If my control.php is in c:\inetpub\www\ea,
So in my php.ini, I should insert it like this: eaccelerator.allowed_admin_path ="c:\inetpub\www\ea".
But for the compiling eAccelerator part, I don't quite understand about the compiling stuff. I have to ask you this very silly question, how can I compile eAccelerator --with-eaccelerator-info option? I'm using Visual Studio 6.0 SP6.
Thank you
Since the
Since the --with-eaccelerator-info is on by default it should be set in my download at: http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds
Yes your eaccelerator.allowed_admin_path looks correct.
Make sure you have the extension loading the proper filename.
If you did not rename the download:
extension="eAcceleratorCVS_5.1.4.dll"
If you did rename it eaccelerator.dll:
extension="eaccelerator.dll"
Also make sure that file (eaccelerator.dll or eAcceleratorCVS_5.1.4.dll) is in your PHP extensions folder as defined by the variable extension_dir in your php.ini.
Good luck,
ChrisWon't run on Server
Hi again Chris,
I've runing a test server on my pc, before putting it on the real server.
eAcceleration seemed to work fine before I've installed it on my server.
I'm using the same php.ini and has the same directory, but still it won't work.
It gives me the Can't load screen, or unavilable. But when I take it out everything works fine.
May be it is becuase IIS6 security problem, becuase I'm running a test on IIS5 ,WIndows XP.
Please help.
Here is my Zend+eA.ini
[Zend]
zend_extension_manager.optimizer_ts="C:\Program Files\Zend\ZendOptimizer-3.0.0\lib\Optimizer-3.0.0"
zend_extension_ts="C:\Program Files\Zend\ZendOptimizer-3.0.0\lib\eAcceleratorCVS_5.1.4.dll"
zend_extension_ts="C:\Program Files\Zend\ZendOptimizer-3.0.0\lib\ZendExtensionManager.dll"
zend_optimizer.optimization_level=15
;[eAaccelerator]
;extension="eAcceleratorCVS_5.1.4.dll"
eaccelerator.shm_size="256"
eaccelerator.cache_dir="c:\tmp\eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.log_file = "c:\tmp\eaccelerator\eaccelerator_log"
eaccelerator.name_space = ""
eaccelerator.check_mtime = "1"
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_and_disk"
eaccelerator.sessions = "shm_and_disk"
eaccelerator.content = "shm_and_disk"; (testing)
Thanks
Hi,
Hi,
1) Do you have php working without eaccelerator ?
In case help:
Install PHP with IIS
2) "It gives me the Can't load screen, or unavilable."
I'm not familiar with that screen, please detail ?
3)To troubleshooting try to limit complexity. Go directly with eAccelerator and comment the zend stuff.
extension="eAcceleratorCVS_5.1.4.dll"
4) Did you have eAccelerator 0.9.3 or 0.9.4 ever working on PHP4?
CVS version is beta so I do not recommend using it unless you are, already familiar with EA.
Cheers,
Chris
Got it working!
Hi Chris,
Thanks for all your help.
I've managed to fix the problem, I was using the ISAPI dll not CGI. So after I've changed back to CGI, everything works perfectly.
Cheers
Excellent !
Excellent !
In general I would not recommend using beta software unless you have the spare time...and know the stuff well.
The same applies to using the latest version of every software. This is especially true if using Windows since we are not mainstream for most software (MySQL, PHP ...etc...).
Quickly (in response to your email):
MySQL 4.1+ offers no real advantage over 4.0.x. If you site would not gain from "row locking" available since 4.1 no need to upgrade in a rush. Upgrade when you got spare time. I will upgrade most of my DBs on or before MySQL Administrator does not support 4.0 anymore...
My guess is that I will upgrade most of my DBs to 4.1.x this year or early next year.
I quickly tried 5.0 and went back to 4.x, 5.0 was slower and used more memory. Why upgrade until you have to, if it makes your application slower...? All the PHP applications I run support PHP4, in fact most of the developers of these apps still develop on PHP4. My guess is that I will be using at least 4.4.2 by year end and maybe a few instances of PHP5 (once the accelerators are solid on it....). I will probably have everything PHP5 next year...
I guess you can tell I'm a little on the conservative side of upgrades. That's because I spend many years running the latest of everything. I've determined it is more work and more troubleshooting...but it is also a good expereince if you have the time.
Cheers,
Chris
PS: I will be very busy until middle of next week so might not be able to respond for the next few days.
Thank you
Thank you very much for the tips Chris.
Now I'm decided to upgrade into Mysql 4.4.2 instead, because I want to keep my server in a nice stable condition. Actually I don't need any new features of mysql 5 anyway.
Thank you again
Cheers,
Terry
On my webserver, the
On my webserver, the extension only runs if i set in php.ini the following:
[Zend]
zend_extension_ts="c:\www\php\eaccelerator.dll"
eaccelerator.shm_size = "64"
etc....
Yes that is a very good
Yes that is a very good point.
I have used eAccelerator as a Zend extension, like you are. But I never noticed any difference (that was a few months ago). So I switch back to not using Zend Dlls at all (why use more memory and/or resources for no visible improvement?).
Let me know if you see some improvements now by using Zend.
Thanks,
Chris
My webserver
My webserver (www.sambar.com) will not start if i use it as described so i must use it as zend extension.
I've found that my
I've found that my eAccelerator is working fine, eventhough the Web control is not working. The eAccelerator already appears on my phpinfo. I guess, I don't need to worry abou the web control panel for now.
BTW: I have sent you an email.
Thank you very much Chris