Re: PHP install problem, engine not parsing php files
| From: | John Coder | Date: | Tue, 22 Oct 2002 20:39:47 +0000 |
| Subject: | Re: PHP install problem, engine not parsing php files | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8882@lists.php.net to get a copy of this message | ||
On Mon, 2002-10-21 at 22:45, M. Ben Nicolas wrote:
> I have attempted to compile and install PHP using the 'Static' method
> described in the INSTALL file that comes with php
>
> php configured with:
> ./configure --with-mysql --with-pgsql --with-apache=/usr/local/apache/apache
> _1.3.22/
>
> php.ini was copied to:
> /usr/local/lib/php.ini
>
> I have un-commented in my httpd.conf file:
> AddType application/x-httpd-php .php
>
> apache installed in
> /usr/local/apache
>
> apache configured with
> ./configure --prefix=/usr/local/apache/ --activate-module=src/modules/php4/l
> ibphp4.a
>
> Apache was already installed and working with mod perl, I just went into
> /usr/local/apache/apache_1.3.22 stopped the web server and ran the line
> above
> (and then make & make install of course)
>
> how can I check to make sure the libphp4 module was activated properly and
> that apache is using it?
> I see nothing about a php module when I do a httpd -l, it gives me this
> Compiled-in modules:
> http_core.c
> .
> .
> .
> mod_perl.c
> suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> do I need to install mod_php? It doesn't say anything about doing this in
> the INSTALL file?
if I remeber correctly you need apache with mod.so also configured if
you ar doing it as a dynamic library. siince the response to you doing
httpd -l doesn't say anything about it being there that is probably the
culprit.
John Coder