Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Oct 1999 17:34:16 +0200
From:      Matthias Teege <matthias@mteege.de>
To:        freebsd-questions@freebsd.org
Subject:   Exec format error with PHP4
Message-ID:  <199910021534.RAA16992@moon.mteege.de>

next in thread | raw e-mail | index | archive | help
Moin

i have installed the port "apache+php+mod_ssl-1.3.9+4.0b2+2.4.0"
underFreeBSD 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?

Thanks
Matthias


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910021534.RAA16992>