AcceptPathInfo disabled or running in CGI mode (again)

Author Message

Hans Kristian Larsen

Thursday 25 November 2010 3:02:58 am

Anyone

I am new to EzPublish, trying to install, during System Check I get:

AcceptPathInfo disabled or running in CGI mode

Installing on ubuntu server 10.10, with LAMP, do not beleive I run php in CGI mode (whatever that is), how do I find out?

Apache is sett to use Virtual Hosts. Tried to add:

<Files "mypaths.shtml">
Options +Includes
SetOutputFilter INCLUDES
AcceptPathInfo On
</Files>

Replacing mypaths.shtm with "ezpublis" home directory.

in apache2.conf (ubuntu use this not httpd.conf. No effect. Tried in the Virtual Host file, no effect. Also tried in .htaccess, no effect.

Anyone, what do I do?

Gaetano Giunta

Thursday 25 November 2010 1:28:51 pm

To find out if you run in CGI mode, put a phpinfo(); page on your web server, look at its output, in the line where it says "Server API" near the top. You should see "Apache 2.0 Handler" or something similar (ie. you're running php as an apache 2 module).

If you're running php as apache 2 module, you do not need to add AcceptPathInfo to your server config, and can ignore that warning (apache will accept path info added to php files anyway, which means the eZ Publish urls like http://my.server/ezp/index.php/path/info will work)

Principal Consultant International Business
Member of the Community Project Board

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

Main resources:

Total runtime0.0185 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.2813152.6563
Module start 'layout' 0.00780.0029 741.937539.5156
Module start 'content' 0.01070.0057 781.453189.5078
Module end 'content' 0.01640.0021 870.960930.2891
Script end 0.0184  901.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002815.1064140.0002
Check MTime0.00136.8164140.0001
Mysql Total
Database connection0.00115.838710.0011
Mysqli_queries0.002613.993130.0009
Looping result0.00000.152410.0000
Template Total0.00168.910.0016
Template load0.00084.582110.0008
Template processing0.00084.301910.0008
Override
Cache load0.00063.071110.0006
General
dbfile0.00105.655480.0001
String conversion0.00000.053040.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