ezP 3.7.6 PHP cgi REQUEST_URI QUERY_STRING etc...

Author Message

J.M. Roth

Tuesday 10 June 2008 9:41:37 am

Hi there,

I run ezPublish 3.7.6 for a customer. (Apache 2.2, PHP 4.4)
When PHP as CGI/FastCGI is enabled it is looking for the site to load in the QUERY_STRING. (lib/ezutils/classes/ezsys.php line 911)

Now the check used to (not) get there is "if ( ! $isCGI || $force_VirtualHost )", so apparently I have to set $force_VirtualHost to true if I want to use the REQUEST_URI after all.

Why is that? The REQUEST_URI server variable works very well although I'm using PHP as a CGI, if that is what you would like to prevent... also PATH_INFO is working fine.

My SiteAccessSettings are
MatchOrder=uri
URIMatchType=element
...

Best regards,
JM

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 18 2025 18:29:03
Script start
Timing: Jan 18 2025 18:29:03
Module start 'layout'
Timing: Jan 18 2025 18:29:03
Module start 'content'
Timing: Jan 18 2025 18:29:04
Module end 'content'
Timing: Jan 18 2025 18:29:04
Script end

Main resources:

Total runtime0.8003 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.1641152.6563
Module start 'layout' 0.00810.0037 740.820339.5078
Module start 'content' 0.01180.7868 780.3281403.1172
Module end 'content' 0.79860.0017 1,183.44538.1094
Script end 0.8003  1,191.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4675160.0002
Check MTime0.00160.1969160.0001
Mysql Total
Database connection0.00060.080710.0006
Mysqli_queries0.760595.0219460.0165
Looping result0.00050.0569440.0000
Template Total0.761695.220.3808
Template load0.00240.295920.0012
Template processing0.759294.854520.3796
Template load and register function0.00020.021910.0002
states
state_id_array0.00120.145210.0012
state_identifier_array0.00090.110520.0004
Override
Cache load0.00190.2407140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.066210.0005
Fetch class attribute name0.00070.083710.0007
XML
Image XML parsing0.00010.015310.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00070.0883100.0001
String conversion0.00000.002240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs