RE: [PHP4BETA] php as a cgi

From: Date: Sat, 07 Aug 1999 13:45:22 +0000
Subject: RE: [PHP4BETA] php as a cgi
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3196@lists.php.net to get a copy of this message
> Can anyone explain how to get this working? ScriptAlias /php-bin c:/php3 AddType application/x-httpd-php3 .php3 Action application/x-httpd-php3 /php-bin/php.exe Make sure that the above alias to c:/php3 is either correct or changed to the appropriate location for php.exe. > I get log errors from apache about including shebangs (#!) at the top of my > files (didn't help). Get rid of the hash-bang stuff. Don't tell Apache that .php3 files are CGI scripts, they aren't. php.exe is a CGI, not your scripts. You can setup Apache to use the hash-bang but it is unnecessary. ,David Norris World Wide Web - http://www.geocities.com/CapeCanaveral/Lab/1652/ Home Computer - http://illusionary.tzo.cc/ Page via mail - 412039@pager.mirabilis.com ICQ Universal Internet Number - 412039 E-Mail - kg9ae@geocities.com

« previous php.version4 (#3196) next »