Re: Re: PHP4.2.0 + Apache2 prints code
| From: | Bertrand PERRINE | Date: | Tue, 30 Apr 2002 08:08:35 +0000 |
| Subject: | Re: Re: PHP4.2.0 + Apache2 prints code | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6791@lists.php.net to get a copy of this message | ||
Read the Apache doc.
Greetings
B.
PS : Apache 2.0.35 and PHP 4.2.0 work together on my debian box.
Le mar 30/04/2002 à 10:45, Yasuo Ohgaki a écrit :
> James Stuart wrote:
> > I've installed Apache 2.0.35 with PHP 4.2.0 on both FreeBSD and Linux, and
> > both yield the same result. When the test.php page is accessed it returns
> > "<?php phpinfo(); ?>" instead of actually processing it.
> >
> > I have the lines:
> > LoadModule php4_module modules/libphp4.so
> > AddType application/x-httpd-php .php
> > in my httpd.conf files, and the /server-info page displays the server as:
> > Server Version: Apache/2.0.35 (Unix) PHP/4.2.0
> > It also indicates that "sapi_apache2.c" is loaded. I've tried making the
> > php files +x, and also accessing them in directories that are set as Options
> > ExecCGI, but nothing causes apache to actually process the php.
> >
> > I have to be doing something wrong here, but for the life of me I can't
> > figure out what it is. The only thing I can think of that might help is an
> > AddHandler line, but I don't know what I'd put there as a handler.
> >
> > Any thoughts/comments/ideas would be greatly appreciated.
> >
>
> Read README file in the SAPI directory.
>
> sapi/apache2filter/README
>
> --
> Yasuo Ohgaki
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php