ez.no / ezpublish / documentation / configuration / optimization / php acceleration
These documentation pages are no longer maintained. Please visit the new documentation site.
PHP Acceleration is caching of the compiled PHP script in memory. This is highly recommended when running eZ publish it will really boost the performance of your eZ publish site.
Collection of documents touching the optimization of eZ publish 3.
Execution speed increases a lot if you use the free Alternativ PHP Cache, ionCube php accelerator or Turck MMCache.
IonCube can improve response times from the server by upto 80%, but make sure you check your php.ini as it requires more memory and if your memory limit is too low this will cause script errors.
A good general setting for ionCude php accelerator is (in php.ini).
zend_extension=/usr/lib/php4/php_accelerator_1.3.3r2.so phpa.shm_ttl = 6h phpa.shm_size = 15
Its probably worth checking you /tmp directory to ensure you have enough space for all those files the accelerator creates.
If your memory gets out of control as it does on standard Redhat 7.3 installs then you need the memory workaround
phpa.enable_php_memory_bug_workaround = 1
ionCube is a good solid "free" solution when speeding up php and has been run by some community members for months without problem. It has been known to have problems on PHP 4.1.2 when you host many sites, ensure you test it fully before deploying 10 sites+ on a box with this accelerator.
An even better but expensive option (490+ USD) is the Zend Performance Suite
Other options include compiling PHP to remove unwanted modules, this will reduce the size of the executed code.
You might also consider building your own Apache for the use in combination of eZ publish.
Comments
new link
Fabricio Guerrero
Monday 09 April 2007 2:14:33 pm
anyhow that link should redirect to this one.. where it is now being hosted.
http://pecl.php.net/package/APC
mmTruck
Norman Leutner
Thursday 24 February 2005 1:41:41 pm
eAccelerator is a further development from mmcache PHP Accelerator & Encoder.
Read more at http://eaccelerator.net
I recommend this version for Windows.
Response Times
Thomas Nunninger
Saturday 17 April 2004 5:18:12 am
I haven't used an accelerator yet. You write:
> IonCube can increase response times from the server by upto 80%
I hope, the response times don't increase :-) What do you mean? Is it 80 % less then without acceleration - that is: with accelearation 20 % of the time without acceleration?
Thanx
Thomas