Php4 install troubles


#1

I am having troubles with the install script that is created by dreamhost on the wiki.

here is the error I am getting, unfortunatly it doesnt give me much help.

It is a 500 Internal Server Error.

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

Please contact the server administrator, webmaster@ryangathmann.com 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.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

let me know what i can do to fix it.


#2

I had the same problem, and the way i fixed it was to chmod the php.cgi file inside cgi-bin to 755 as well as chmodding the cgi-bin folder if you haven’t done so.


#3

ok i looked at my error logs and found this.

Premature end of script headers: php.cgi

any one know how to trouble shoot that?


#4

php.cgi errored when starting up. Create a php file and run it through the command line against that file: php.cgi test.php

See what you get.

PS: Might I also suggest if you’re compiling your own PHP, use PHP5. You might as well do it right the first time, instead of having to worry about it later.