internal server error
| From: | Bob Lockie | Date: | Fri, 18 Jun 2004 17:41:22 +0000 |
| Subject: | internal server error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188597@lists.php.net to get a copy of this message | ||
I'm getting an 'Internal Server Error' when I run:
http://216.15.235.3/cgi-bin/testphp.php
I've added AddType directives, this is not my first install of PHP but it is my first install with the latest versions.
Is anybody using the php-install mailing list?
I got tons of SPAM when I posted there. :-(
The log says:
[Fri Jun 18 12:31:05 2004] [error] [client 216.168.107.70] Premature end
of script headers: testphp.php
[Fri Jun 18 12:31:05 2004] [error] [client 216.168.107.70] (8)Exec
format error: exec of '/usr/local/apache2/cgi-bin/testphp.php' failed
http://216.15.235.3/cgi-bin/test-cgi
that came with Apache works fine.
I am using Apache-2.0.49 and PHP-4.3.7.
The command line PHP works fine.
testphp.php is:
<?php phpinfo(); ?>