Running PHP as a CGI, chasing my own tail....
| From: | pw | Date: | Tue, 20 Jan 2004 16:59:36 +0000 |
| Subject: | Running PHP as a CGI, chasing my own tail.... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-175158@lists.php.net to get a copy of this message | ||
Hello,
I have looked over the various documentation regarding using
php as a CGI program.
What I have are PHTML scripts that I wish to run through
php via CGI, not through the module.
In my httpd.conf file I have placed the lines:
AddHandler phtml-script .phtml
Action phtml-script /cgi-bin/php
I have a symlink in my cgi-bin directory to the php executable.
Am I missing anything else to make this work?
Thanks for any insight.
Peter