Forums / Install & configuration / AcceptPathInfo / CGI system check

AcceptPathInfo / CGI system check

Author Message

Andreas Kaiser

Monday 08 January 2007 6:43:36 pm

I've being testing eZ 3.9 on a new dedicated server. The server has Apache 1.3 and PHP 4.4.4-0.dotdeb.3 (including eaccelerator & Suhosin) I also installed a Webhost control panel IspConfig.

I get an error in the system check: 1. AcceptPathInfo disabled or running in CGI mode

But I think I installed php as module. When I check a info.php page I get following, so I think php is installed as module:

Server API 	Apache
Loaded Modules 	mod_php4

My question is how can I confirm that php isn't loaded as cgi (because even if I installed it as module I don't know if the control panel changed this...) - do these lines confirm it?

I have installed eZ Publish and all seems to work, except, that the website loads slow (I have to test this more and perhaps I will remove Suhosin to gain more speed)

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

kracker (the)

Monday 08 January 2007 9:24:25 pm

I often include the following apache httpd.conf directive inside my virtual host configuration.

AcceptPathInfo On

In the past I have used eZ publish on hosting environments which would not acknowledge this configuration directive enabled. Most solid builds of apache should not have this problem. I've ignored this error in the past without encountering a breakdown.

Related threads,
<i>http://ez.no/community/forum/install_configuration/acceptpathinfo_on_problem
http://ez.no/community/forum/install_configuration/problems_with_acceptpathinfo
http://ez.no/community/forum/install_configuration/acceptpathinfo_apache_2_x
http://ez.no/community/forum/install_configuration/shared_hosting_problems_php_cgi
http://ez.no/community/forum/install_configuration/install_using_htaccess_to_change_acceptpathinfo
</i>

//kracker

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Andreas Kaiser

Tuesday 09 January 2007 1:23:12 am

Thanks for the info. Anyway I found at http://ez.no/ezpublish/documentation/configuration/configuration/ez_publish_running_on_a_cgi_version_of_php that if the server would have PHP as CGI the url would be http://example.com/site/index.php?/articles.new or eZ wouldn't work...

I have two sites on this server one with uri and other with host configuration and the urls are like:

http://example.com/site/articles/new

and

http://example.com/site/index.php/articles/new

So this should demostrate me that the server is not running PHP as CGI.

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

Brookins Consulting

Tuesday 09 January 2007 1:30:58 am

Your php installation should report
it's configuration running the command.

php --version

It seems as though you are commenting on rogue configuration issues. What seems to be the real problem here?

eZ Partner | North American Experience
http://brookinsconsulting.com/experience

kracker (the)

Tuesday 09 January 2007 1:36:34 am

<i>@Andreas</i>

Only that's not how you tell if 'something' is running as CGI,
or what CGI is all about with respect to php's usage of the term.
It seems as though you confuse url style with a notion of php-cgi configuration ...

The only problem I hear you commenting on with accuracy is slow performance
which has more to do with your own server + eZ publish configuration and your
own specific use of eZ publish and the functional + performance considerations
probably need to made by you for your site.

<i>http://ezpedia.org/wiki/en/ez/performance</i>

Things like which features or configurations to use for optimum performance.
There are much better topics available in the forum for that than this thread.

<i>//kracker

ps. some hosting providers only provide php via cgi mode for performance reasons ... just most often not in your interest.</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

eZ debug

Timing: Jan 31 2025 00:19:34
Script start
Timing: Jan 31 2025 00:19:34
Module start 'content'
Timing: Jan 31 2025 00:19:34
Module end 'content'
Timing: Jan 31 2025 00:19:34
Script end

Main resources:

Total runtime0.2398 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.0067 588.0469370.2891
Module start 'content' 0.00670.0172 958.33591,009.7031
Module end 'content' 0.02390.2158 1,968.03913,898.2422
Script end 0.2397  5,866.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00431.7784200.0002
Check MTime0.00130.5553200.0001
Mysql Total
Database connection0.00070.302310.0007
Mysqli_queries0.137057.11491410.0010
Looping result0.00120.49511390.0000
Template Total0.215489.910.2154
Template load0.00090.365410.0009
Template processing0.214689.484510.2146
Override
Cache load0.00060.259010.0006
Sytem overhead
Fetch class attribute can translate value0.00190.802810.0019
XML
Image XML parsing0.00030.120110.0003
General
dbfile0.01335.5526200.0007
String conversion0.00000.002530.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