Re: [PHP4BETA] CGI version of PHP not working
| From: | Victor | Date: | Fri, 09 Jun 2000 13:49:17 +0000 |
| Subject: | Re: [PHP4BETA] CGI version of PHP not working | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1392@lists.php.net to get a copy of this message | ||
Here is the wrapper I created (based on your example).
#!/bin/sh
PATH_INFO=/index.html
PATH_TRANSLATED=/www/htdocs/index.html
#$SCRIPT_NAME
#$SCRIPT_FILENAME
export PATH_INFO
export PATH_TRANSLATED
#unset SERVER_SOFTWARE
#unset SERVER_NAME
#unset GATEWAY_INTERFACE
#unset REQUEST_METHOD
/usr/local/bin/php