PHP 4 CGI binary trouble
| From: | Paul Farber | Date: | Mon, 30 Oct 2000 15:45:21 +0000 |
| Subject: | PHP 4 CGI binary trouble | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22696@lists.php.net to get a copy of this message | ||
Hello all..
Trying to get PHP 4 to run as a CGI-binary... culled the archives and compiled with the recommended options, set up httpd.conf but no go.
Two things happen depending on the config in httpd.. either the script displays as text, or I get a input file error.
#!/usr/local/bin/php is at the head of the script, and it runs from the command line... but not via apache.
ANYONE get the cgi version to work??
Paul Farber
Farber Technology
200 N. 2nd Street
Pottsville, PA. 17901
Ph 570-628-5303
Fx 570-628-5545