News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

What is eAccelerator?

Started by [Unknown], September 19, 2005, 01:35:51 AM

Previous topic - Next topic

Elmacik

eAccelerator is installed but not taking place in phpinfo.... why?
here is the relevant part of php5.ini 

[eAccelerator]
;extension=eaccelerator.dll
;eaccelerator.shm_size = "0"
;eaccelerator.cache_dir = "G:\PHP\xampp\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 =
Home of Elmacik

Ben_S

You have it commented out, remove the ;'s.
Liverpool FC Forum with 14 million+ posts.

Elmacik

ah dammit i didnt notice that :)
thanks..
does to install two optimizing engine harm the system?
and if yes, which lines should i remove for zend?
these? :

[Zend]
zend_extension_ts = "G:\PHP\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts = "G:\PHP\xampp\php\zendOptimizer\lib\Optimizer"
zend_optimizer.enable_loader = 0
zend_optimizer.optimization_level=15
Home of Elmacik

Oldiesmann

As I recall, they don't recommend runing both eAccelerator and Zend Optimizer unless you need Zend encoding, so you should comment out and/or remove the Zend lines.
Michael Eshom
Christian Metal Fans

Gandalf

Hello there,

I have my own server, I am using Joomla ( CMS ) and SMF 1.1, do you think that this eAccelerator may have a better perfermance on my server?

Thx
Siemens-mobiles.org Visit it and you won't regret it :D

Joshua Dickerson

Quote from: Gandalf on November 03, 2005, 03:30:51 PM
Hello there,

I have my own server, I am using Joomla ( CMS ) and SMF 1.1, do you think that this eAccelerator may have a better perfermance on my server?

Thx
try it.
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

Ben_S

Liverpool FC Forum with 14 million+ posts.

Gandalf

I installed it yesterday, it works no errors so far, though i didnt notice a great improvement in the perfermance, I will compare next week server load statistic with last week to see which one is better..

Thx anyway..
Siemens-mobiles.org Visit it and you won't regret it :D

Ben_S

#28
It does make a difference, forgot to readd it after upgrading to php 4.4.1 and load was significantly higher. Unless your server is working hard anyway you are unlikely to really notice it, but page generation time will be slightly lower.

You can see it here in fact, http://www.redandwhitekop.com/load/index.php?logfile=1131062400.log No prizes for guessing what time I added it back in.
Liverpool FC Forum with 14 million+ posts.

Elmacik

Here are my settings about optimizers:

[eAccelerator]
extension=eaccelerator.dll
eaccelerator.shm_size = "0"
eaccelerator.cache_dir = "G:\PHP\xampp\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 =

[Zend]
;zend_extension_ts = "G:\PHP\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "G:\PHP\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =


When I look at my phpinfo, I dont see eAccelerator anywhere but on the other hand, zend is there >:(
Whats wrong? (Yes, I restarted the server after changing the settings and checked back)
Home of Elmacik

Compuart

Quote from: Elmacik on November 06, 2005, 03:40:16 PM
Here are my settings about optimizers:

[eAccelerator]
extension=eaccelerator.dll
eaccelerator.shm_size = "0"
eaccelerator.cache_dir = "G:\PHP\xampp\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 =

[Zend]
;zend_extension_ts = "G:\PHP\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "G:\PHP\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =


When I look at my phpinfo, I dont see eAccelerator anywhere but on the other hand, zend is there >:(
Whats wrong? (Yes, I restarted the server after changing the settings and checked back)
Make sure the extension dir is set right (extension_dir setting in php.ini). Also make sure you have the php.ini that's in xampp\apache\bin. Xampp has multiple php.ini files, only one is valid ;)
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

Elmacik

Umm.. I didnt notice that :D
I knew that it has many php.ini files, In case doing it wrong, I changed all of them but see, I missed one :D
But thats ok, people learn by trying and making mistakes.. ;)
Thanks Compuart
Home of Elmacik

Gandalf

Just a little info... for whom did integrate Coopermine Photo Gallery with SMF, if they use caching, the gallery will not work, it will give an error...
Siemens-mobiles.org Visit it and you won't regret it :D

Motorhead

I've probably misunderstood but I'm running

SMF 1.1 rc1 + MKPortal 1.1 with Coppermine intergated into my SMF and I've got Eaccelerator installed , don't seem to have a problem ??


Gandalf

Hmmm That's weird :o i have Joomla + SMF + coppermine but when i turned it on
REPLACE INTO smf_settings
   (variable, value)
VALUES ('cache_enable', '2');

I had a weird error while accessing coppermine i don't remember it but something about cache
Siemens-mobiles.org Visit it and you won't regret it :D

Ben_S

Some versions of the coppermine bridge dont like it, do a search, theres a posted fix.
Liverpool FC Forum with 14 million+ posts.

Bonk

In case anyone is looking for eAccelerator 0.9.3 for php 5.0.5 on win32:

http://www.dynaverse.net/downloads/Utilities/eAccelerator0.9.3_php5.0.5.zip

I decided not to wait for http://www.arnot.info/eaccelerator/ to do it as I wanted to use php 5.0.5 right away, so I went ahead and compiled it myself, it took a little futzing but it compiled OK and is running fine on our server.

Enjoy!  :D

Elmacik

Quote from: Compuart on November 06, 2005, 05:13:29 PM
Quote from: Elmacik on November 06, 2005, 03:40:16 PM
Here are my settings about optimizers:

[eAccelerator]
extension=eaccelerator.dll
eaccelerator.shm_size = "0"
eaccelerator.cache_dir = "G:\PHP\xampp\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 =

[Zend]
;zend_extension_ts = "G:\PHP\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "G:\PHP\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =


When I look at my phpinfo, I dont see eAccelerator anywhere but on the other hand, zend is there >:(
Whats wrong? (Yes, I restarted the server after changing the settings and checked back)
Make sure the extension dir is set right (extension_dir setting in php.ini). Also make sure you have the php.ini that's in xampp\apache\bin. Xampp has multiple php.ini files, only one is valid ;)

Weird but that didnt work :(
Home of Elmacik

Bonk

eAccelerator 0.9.4-rc1 (or 0.9.3) is not compatible with php 5.1.0... grrr!  >:(

http://sourceforge.net/forum/forum.php?thread_id=1390864&forum_id=416742

Ben_S

Use APC, it's a better solution all round if you ask me, going to make the switch myself.
Liverpool FC Forum with 14 million+ posts.

Advertisement: