RE: [PHP-INST] 500 Internal Server Error
| From: | Mark Roedel | Date: | Tue, 03 Jul 2001 13:59:07 +0000 |
| Subject: | RE: [PHP-INST] 500 Internal Server Error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3403@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Joachim Andree [mailto:jandree@gcd.de]
> Sent: Tuesday, July 03, 2001 8:14 AM
> To: php-install@lists.php.net
> 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 (roedelm@letu.edu) | "There cannot be a crisis next week.
Systems Programmer / WebMaster | My schedule is already full."
LeTourneau University | -- Henry Kissinger