You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by KJ <ja...@sigmaksa.com> on 2002/07/20 11:15:31 UTC
Conf Problem!!
Hi,
I have installed PHP4.2.1 as a module in Apache but after installation i dont find
****
AddType application/x-httpd-php .php
*****
in the Apache Conf file.
I am running RHLinux7.2 with Apache1.3.26 and PHP4.2.1
The commands i have used are below..
./configure --with-mysql --with-apxs=/www/bin/apxs
make
make install
**********************
Regards,
KJ
Re: Conf Problem!!
Posted by KoAps <ko...@g3k.cc>.
hey KJ,
besure to include the listname in the TO or CC or else it bypass's the mail rules users have setup for their inbox's.
not sure what version of apache you are referring to,
but in mine(Server version: Apache/1.3.23 (Unix) (Red-Hat/Linux))
it is in the conf as a module section
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
</IfModule>
If you are using vi to edit the conf try searching for php as a keyword
and see if you just overlooked the section in your config
elsewise just add those lines maybe and try it...
also besure to add index.php to the directory index..
<IfModule mod_dir.c>
DirectoryIndex index.html index.php
</IfModule>
----------
-L8rs
KoAps
----- Original Message -----
From: KJ
To: "Undisclosed-Recipient:;"@zai.sigmaksa.net
Sent: Saturday, July 20, 2002 2:15 AM
Subject: Conf Problem!!
Hi,
I have installed PHP4.2.1 as a module in Apache but after installation i dont find
****
AddType application/x-httpd-php .php
*****
in the Apache Conf file.
I am running RHLinux7.2 with Apache1.3.26 and PHP4.2.1
The commands i have used are below..
./configure --with-mysql --with-apxs=/www/bin/apxs
make
make install
**********************
Regards,
KJ
RE: Conf Problem!!
Posted by R'twick Niceorgaw <rt...@niceorgaw.com>.
Just add it in the httpd.conf file. Its no longer added by default.
-----Original Message-----
From: KJ [mailto:javidj@sigmaksa.com]
Sent: Saturday, July 20, 2002 5:16 AM
To: "Undisclosed-Recipient:;"@zai.sigmaksa.net
Subject: Conf Problem!!
Hi,
I have installed PHP4.2.1 as a module in Apache but after installation i
dont find
****
AddType application/x-httpd-php .php
*****
in the Apache Conf file.
I am running RHLinux7.2 with Apache1.3.26 and PHP4.2.1
The commands i have used are below..
./configure --with-mysql --with-apxs=/www/bin/apxs
make
make install
**********************
Regards,
KJ