installing php as cgi on linux
| From: | Richard Kurth | Date: | Fri, 27 Jul 2001 19:19:37 +0000 |
| Subject: | installing php as cgi on linux | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59993@lists.php.net to get a copy of this message | ||
I am trying to get php as cgi installed on a RedHat7 box to be used
with Apache. I configured it with ./configure --with-mysql did a make
and then a make install every thing whet just fine. I add
ScriptAlias /php/ "/usr/local/bin/php"
AddType application/x-httpd-php .php4 .php3 .phtml .php
AddType application/x-httpd-php-source .phps
to the httpd.conf file. and restarted Apache.
When I try to run a test file with a .php ext All it does is try to
download it. This should be simple but I can not figure it out.
What else should I look at?
Best regards,
Richard
mailto:rkurth@pacifier.com