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.

eZ debug

Timing: Jan 31 2025 04:25:42
Script start
Timing: Jan 31 2025 04:25:42
Module start 'layout'
Timing: Jan 31 2025 04:25:42
Module start 'content'
Timing: Jan 31 2025 04:25:42
Module end 'content'
Timing: Jan 31 2025 04:25:42
Script end

Main resources:

Total runtime0.0111 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 588.3828151.2422
Module start 'layout' 0.00420.0021 739.625036.7109
Module start 'content' 0.00630.0036 776.335990.3438
Module end 'content' 0.01000.0011 866.679733.9922
Script end 0.0111  900.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002017.7786140.0001
Check MTime0.00098.5344140.0001
Mysql Total
Database connection0.00076.484710.0007
Mysqli_queries0.002018.230330.0007
Looping result0.00000.073110.0000
Template Total0.00087.510.0008
Template load0.00075.865310.0007
Template processing0.00021.587310.0002
Override
Cache load0.00054.303810.0005
General
dbfile0.00032.357380.0000
String conversion0.00000.045240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs