> -----Original Message-----
> From: Joachim Andree [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 03, 2001 8:14 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] 500 Internal Server Error
> 
> 
> On an Suse-Linux 6.4
> I installed php 4.06
> 
>  ./configure --with-pgsql --with-apache=../apache_1.3.x 
> --enable-track-vars
>
> [snip]
> 
> Everything looks fine but when I trie <? phpinfo() ?>
> the Apache Server Error log reports:
> [Error] (8)Exec format error: exec of 
> /usr/local/httpd/cgi-bin/test.php
> [Error] Preamture End of script headers: 
> /usr/local/httpd/cgi-bin/test.php

You've built PHP as an Apache module, but you're attempting to use it as
a CGI.

Try moving test.php from your cgi-bin directory into your main web
document tree and see whether the results are any better.


---
Mark Roedel ([EMAIL PROTECTED]) | "There cannot be a crisis next week.
Systems Programmer / WebMaster |  My schedule is already full."
     LeTourneau University     |                   -- Henry Kissinger 

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to