RE: [PHP] Configuring PHP4 on pair.com
| From: | Jeff Oien | Date: | Wed, 21 Feb 2001 18:29:32 +0000 |
| Subject: | RE: [PHP] Configuring PHP4 on pair.com | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41029@lists.php.net to get a copy of this message | ||
Wow, my server is being upgraded today. I did all that for nothing.
How do I undo what I just did? I checked this morning and PHP3
was still in use on my server. That's why I tried to install PHP4.
Jeff Oien
> 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: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>