Forums / Install & configuration / Tip: Accelerate PHP

Tip: Accelerate PHP

Author Message

Kai Duebbert

Monday 31 March 2003 11:18:54 pm

Hi,

APC stopped working for me so I had a hunt for PHP accelerators again. The following two worked like a charm and sped up eZ publish by >50%:
http://www.turcksoft.com/en/e_mmc.htm (GPL)
http://www.php-accelerator.co.uk/ (Closed source)

Kai

Bård Farstad

Monday 31 March 2003 11:59:01 pm

I would highly recommend using a PHP accelerator when running PHP. At ez.no we use ionCube PHP accelerator (http://www.php-accelerator.co.uk/). We've experienced as much as 3x speed increase of eZ publish with an accelerator, but that's on fully cached sites where most of the overhead is in parsing the php files.

--bård

Documentation: http://ez.no/doc

tady d.

Sunday 03 December 2006 10:14:45 am

Could you describe me that, please:
<i> but that's on fully cached sites where most of the overhead is in parsing the php files. </i>

André R.

Sunday 03 December 2006 3:23:33 pm

It means the template and view cache is on and you have already accessed the page (so the template and content output is already generated and will remain cached until you alter the content, clear the cache or the cache time expires).

PS! This thread is old, please use apc or eaccelerator over turck_mm for php acceleration, search it up on the net for more info on those.

PS2! Cache time applies only to view and cache-block cache, templates remains cached until you clear the template cache. (or until you change the template if you have developentmode enabled)

PS3! Take a look in the ini files in settings/ for a lot of comments on how things / settings can be altered, specially site.ini

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

eZ debug

Timing: Jan 30 2025 19:35:43
Script start
Timing: Jan 30 2025 19:35:44
Module start 'content'
Timing: Jan 30 2025 19:35:44
Module end 'content'
Timing: Jan 30 2025 19:35:44
Script end

Main resources:

Total runtime0.2185 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0090 587.9297370.2969
Module start 'content' 0.00900.0193 958.22661,005.5313
Module end 'content' 0.02830.1901 1,963.75783,893.7891
Script end 0.2184  5,857.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00512.3143200.0003
Check MTime0.00160.7161200.0001
Mysql Total
Database connection0.00090.403410.0009
Mysqli_queries0.113752.03761410.0008
Looping result0.00130.61361390.0000
Template Total0.189686.810.1896
Template load0.00090.429810.0009
Template processing0.188786.359510.1887
Override
Cache load0.00060.287010.0006
Sytem overhead
Fetch class attribute can translate value0.00221.007010.0022
XML
Image XML parsing0.00020.108510.0002
General
dbfile0.00984.4673200.0005
String conversion0.00000.002630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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