Which PHP accelerators are supported?

Author Message

Nick Haralambopoulos

Saturday 12 May 2007 4:03:54 am

Hello my fellow ezpublishers. I've search the documentation and the forums but I can not find which php accelerators are compatible with ezpublish. Recently I installed XCache 1.2.0 accelerator in my Mac OS 10.4.8 Intel server with apache 1.3.33, PHP 4.4.4 and ezp 3.7.6.
I have problems with it. I can not create folders and move nodes in the admin interface. Also xcache in not recognised as an php accelerator. Is there a special setting I have to do in ezp?
Does anyone know any other php accelerator that works without problem?

Andreas Kaiser

Sunday 13 May 2007 6:25:02 am

I've been using eaccelerator without problems. (even with Suhosin installed)

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Frédéric DAVID

Sunday 13 May 2007 11:56:22 am

I've been using eaccelerator too ttwithout problems.

You can find some informations there : http://pwet.fr/blog/eaccelerator_avec_ez_publish

Blog : http://www.frefred.fr/blog/ez-publish
feZ Meta Data : http://projects.ez.no/fezmetadata

Andreas Kaiser

Monday 14 May 2007 3:58:38 am

In this post there is also a example configuration for eaccelerator.

http://ez.no/community/forum/setup_design/improving_ez_publish_environment_and_performance

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Will Collins

Tuesday 15 May 2007 9:10:18 am

We have been using APC 3.0.14 (current version) and get an average cache hit rate around 250 cache requests/second. Our miss rate is under 1%.

If your server is memory limited, you will want to include the following filter:

apc.filters = "-cache.*\.php"

Otherwise you may run into a runaway memory problem. This filter, added to apc.ini will tell APC to not cache EzPublish cache files (creating a caching of cached files which can quickly eat up precious memory and send your server to using swap space on the hard drive (very, very, slow).

However, if memory is not a concern (6GB or higher), than you don't need to worry about filtering.

I tried all the other PHP accelerators and found them either too unstable or not well maintained (security wise) for our high volume servers.

Also keep in mind that you will see a better speed improvement if you tweak Apache and MySQL than you will by using a PHP accelerator.

André R.

Thursday 17 May 2007 2:55:38 pm

Did a quick test with and without APC on my machine (Debian 4, Pentuim M 1.86):

With template and view cache off:
wo/APC ~0.98 - 1.21 s
w/ APC ~0.67 - 0.89 s

With template and view cache on:
wo/APC ~0.21 - 0.39 s
w/ APC ~0.09 - 0.13 s

For large sites you will probably want to use eaccelerator since it's also storing op code cache to disk.

BTW: I have seen way lower times with the PHP5 port..

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.