Click to See Complete Forum and Search --> : php install apache/solaris exec error


lovepoet
07-02-2002, 07:09 PM
Hi, I just installed (static) php 4.2.1/Apache 1.3.26 under Solaris 8
and I get the following error in the log when I browse test.php:
--------------------------------------------------------------------------------
-
[Tue Jul 2 16:10:00 2002] [error] (8)Exec format error: exec of /dnsadmin/cgi-
bin/test.php failed
[Tue Jul 2 16:10:00 2002] [error] [client 172.32.57.28] Premature end of
script headers: /dnsadmin/cgi-bin/test.php
--------------------------------------------------------------------------------
-

test.php is
<?php
phpinfo();
?>

any ideas?

lovepoet
07-02-2002, 07:50 PM
ok, I found the problem - it should be in the regular html directory /dnsadmin, not the cgi-bin. It works like a charm now!