|
PHP install problem, engine not parsing php files
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 the following line 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/libphp4.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
I have mod-perl working with apache (for scoop site) so I don't want to completely wipe apache and try to
install from scratch using the 'Dynamic' method described in the php INSTAll file
My system:
uname -a = 'Linux my.host.name 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i686 unknown'
apache version 1.3.22
php version 4.2.3
My problem is that every time I try to make a request for a php page from a browser, the 'Download Dialog' box
appears in explorer and the browser automatically downloads the php file without the server processing the php
code??...
`which php` gives me nothing?
and there is no php binary in /usr/bin/
|