note 36109 rejected from install.apache2 by pollita
| From: | pollita@php.net | Date: | Thu, 25 Sep 2003 23:10:18 +0000 |
| Subject: | note 36109 rejected from install.apache2 by pollita | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57142@lists.php.net to get a copy of this message | ||
Note Submitter: jonphp.net@directfreight.com
----
I finally got php working on apache2 with the following:
adding
AddType application/x-php .php
Action application/x-php /cgi-bin/php-handler.cgi
to apache's configuration and then creating the
file php-handler.cgi as
#!/bin/sh
/usr/bin/php-cgi /var/www/html/$QUERY_STRING
Please note that this is NOT secure, but it works.