Re: php like cgi

From: Date: Tue, 17 Apr 2001 11:57:14 +0000
Subject: Re: php like cgi
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48940@lists.php.net to get a copy of this message
On Monday 16 April 2001 22:40, you wrote: > Hi.. > > I'm tring to use a php-script like cgi, but the only thing i got is > "Internal Server Error..." > > That's my test-script.. > ----------------------------------------------------------- > #!/bin/php -q Are you 100% sure that it's /bin/php ? That's a pretty unusual location for PHP to be installed in. /usr/bin/php or /usr/local/bin/php are the common ones > > <?php > echo "Content-type: text/html\n\n"; unneccessary if you leave out the -q -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Never doubt that a small group of thoughtful, committed people can change the world... Indeed, it's the only thing that ever has." - Margaret Mead

« previous php.general (#48940) next »