php accelerator for shared (or colocation) hosting

Author Message

Neeraj Poudyal

Wednesday 05 April 2006 3:11:41 am

Is there a way to install accelerators when you don't have root access? I'm using colocation and so far I don't think I'll have root access until we get a dedicated hosting.

Richard Tuin

Wednesday 05 April 2006 5:03:22 am

PHP acceleration is a proces that is done by the PHP engine itself by using an acceleration extension for PHP.

I think you should contact your hosting company if you want a PHP accelerator/optimizer installed on the webserver your site is at.

Matthew Carroll

Wednesday 12 April 2006 8:49:17 am

In short, no. You need root access to install the accelerator - however, it's certainly possible to have an accelerator such as APC disabled by default then enabled on a virtual host, or folder basis using the apache configuration. if you have a friendly admin they may be willing to consider implimenting since it shouldn't interfere with other sites (this is what we do for our customers with ez sites), e.g...

#
# APC disabled by default
#
php_admin_value apc.enabled 0

#
# APC enabled for ezpublish
#
<Directory /usr/local/share/ez>
    AllowOverride All
    php_admin_value apc.enabled 1
</Directory>

Good luck
Matthew

http://carroll.org.uk

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