Exec format error
| From: | Matthias Teege | Date: | Sun, 03 Oct 1999 16:21:55 +0000 |
| Subject: | Exec format error | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5105@lists.php.net to get a copy of this message | ||
Moin,
i have installed the port "apache+php+mod_ssl-1.3.9+4.0b2+2.4.0"
under FreeBSD 3.2-STABLE. I have tested the installation with the
following code but the result is an error message like this:
[Sat Oct 2 17:27:21 1999] [error] (8)Exec format error: exec of
/usr/local/share/apache/cgi-bin/hello.php3 failed
[Sat Oct 2 17:27:21 1999] [error] [client 192.168.153.9] Premature
end of script headers: /usr/local/share/apache/cgi-bin/hello.php3
The PHP Code is:
<html>
<head>
<title>Example</title>
</head>
<body>
<?php echo "Hi, I'm a PHP script!"; ?>
</body>
</html>
Were is the problem? How can I debug this?
Thanks
Matthias