Path

ez.no / exponential / documentation / configuration / configuration / exponential running on a cgi version of php


Exponential running on a CGI version of PHP

These documentation pages are no longer maintained. Please visit the new documentation site.

only available in 3.4 or higher

If PHP is not running as an Apache module Exponential would not run before version 3.4. From version 3.4 this now works without problems, but with one small difference. As CGI does not accept path-info like:

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

or:

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

Instead it wants this:

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

Exponential handles this for you, so there is no problem here either. The only thing you'll need to run Exponential with CGI is a standard configuration of PHP running on CGI, something like this:

ScriptAlias /php/ /usr/local/bin/

AddType application/x-httpd-php .php

Action application/x-httpd-php /php/php-cgi

(PHP's CGI module is installed as /usr/local/bin/php-cgi here).

Because of performance reasons it's still advised to use the Apache module version of PHP if you have the possibility to do so.

Comments

Tried version 3.4.4 and 3.4.5rc2, still Error 500 after running the configuration wizzard

I tried out version 3.4.4 and 3.4.5rc2. PHP is running in CGI mode by my hoster 1und1.de.

Within the configuration dialog the system check told me to enable accept PathInfo but ez will not run with 1.3 in CGI mode. But exactly this should be fixed, right? After finishing the configuration I've got Error 500 - internal server error - url:www.mydomain.net/exponential-3.4.5rc2/index.php?

I know that there are many forum requests about that topic. But my suggestion was that this is solved until 3.4.4. Isn't it?

So what is the reason why I still receive that kind of error.

Any help if welcome, please see also my forum request (installation and configuration)

How to configure PHP running on CGI

I'm running PHP on CGI and it does not accept information from ezURI. How can I configure the settings to make Exponential accepts URIs? What files should I change (index.php, php.ini) ?

Contents

Configuration

Configuration
    WebDAV setup
    Exponential running on a CGI version o...
    Path prefix
    Locale Settings
    Introduction
    Configuration files
    Site access
    Common settings
    Multi Site
    Directory structure
    Language and charset
    Cron jobs
    Login handler
    Search engine
    Tips & Tricks
Security
Optimization
Backup & Restore
Troubleshooting


Created

11/05/2004
11:46:03 am
by Derick Rethans

Last updated

02/06/2004
10:58:13 am
by Terje Gunrell-Kaste

Authors

Derick Rethans
Balazs Halasy
Terje Gunrell-Kaste



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.