Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 3
Subject:   Apache + php + jaguar = no go?
Date:   2002-09-18 06:24:34
From:   anonymous2
I did all that this article suggests to get php
working but I just get an error message with every php-file I try. It looks like this on the page:


Internal Server Error


The server encountered an internal error or misconfiguration and was unable to complete your request.


Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.


More information about this error may be available in the server error log.



And in the Apache logs it looks like this:


[Wed Sep 18 15:13:57 2002] [error] (8)Exec format error: exec of /Library/WebServer/CGI-Executables/test.php failed
[Wed Sep 18 15:13:57 2002] [error] [client 1.1.1.1] Premature end of script headers: /Library/WebServer/CGI-Executables/test.php



Please help. I want to install SquirrelMail which is php-based. Already got sendmail and imap running.


/John

Full Threads Newest First

Showing messages 1 through 2 of 2.

  • Apache + php + jaguar = no go?
    2002-09-26 05:51:14  philocon [View]

    I solved the problem by adding the line

    AddType application/x-httpd-php .php

    at the end of httpf.conf

    Good luck!
    • Apache + php + jaguar = no go?
      2002-09-26 05:56:30  philocon [View]

      Sorry for the spelling error in my first reply:

      httpd[!].conf