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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]