ez.no / exponential / documentation / configuration / configuration / 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
Walter Goschinski
Monday 20 December 2004 2:10:10 pm
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
Lukasz Ocelewicz
Friday 23 July 2004 11:02:52 pm