Apache error 500: exec format error
Posted: Sat Sep 12, 2009 9:59 am
Hi!
I am running Apache 2.2.13 and PHP 5.2.10 on my home server. I am mostly running default settings (I have disabled directory listing for example).
I downloaded serendipity-1.4.1.tar.bz2 and decompressed it on the cgi-bin/ser directory. Next, I chmod 777 just for a test run on LAN, but I got a 500 error from Apache.
Here are the logs:
/var/log/httpd/error_log
/var/log/httpd/access_log
What am I doing wrong?
I am running Apache 2.2.13 and PHP 5.2.10 on my home server. I am mostly running default settings (I have disabled directory listing for example).
I downloaded serendipity-1.4.1.tar.bz2 and decompressed it on the cgi-bin/ser directory. Next, I chmod 777 just for a test run on LAN, but I got a 500 error from Apache.
Here are the logs:
/var/log/httpd/error_log
Code: Select all
[Sat Sep 12 10:50:03 2009] [notice] Digest: generating secret for digest authentication ...
[Sat Sep 12 10:50:03 2009] [notice] Digest: done
[Sat Sep 12 10:50:04 2009] [notice] Apache/2.2.13 (Unix) DAV/2 configured -- resuming normal operations
[Sat Sep 12 10:50:06 2009] [error] [client 10.0.0.2] (8)Exec format error: exec of '/srv/httpd/cgi-bin/ser/index.php' failed, referer: http://10.0.0.3/
[Sat Sep 12 10:50:06 2009] [error] [client 10.0.0.2] Premature end of script headers: index.php, referer: http://10.0.0.3/Code: Select all
10.0.0.2 - - [12/Sep/2009:10:50:06 +0300] "GET /cgi-bin/ser/index.php HTTP/1.1" 500 535
access_log lines 1-1/1