Don't reference the absolute path to php4.cgi in your .htaccess it has to be
relative to the domain.  Instead, try:

Action application/x-httpd-php-xphp /cgi-bin/PHP2/php.cgi
AddHandler application/x-httpd-php-xphp .phtml

This is how I got PHP2 back.  BUT, if you server is one of the ones that have been
upgraded to FreeBSD 4, PHP4 is already installed.

Try to run "uname -v" when you log in.  You may not have to compile PHP4 like this.

Or see if your server has been upgraded at
http://support.pair.com/notices/stable-upgrade.html

Michael


Jeff Oien wrote:

> I went through this installation process to install PHP4 on a pair
> server. When I try to run a PHP script I get an internal server error
> with this: Premature end of script headers: /usr/www/users/xxxx/cgi-bin/php4.cgi
> What should I do from here? Thanks.
> Jeff Oien
>
> --
> PHP General 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]


-- 
PHP General 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