I also have the following in my httpd.conf file

LoadModule php4_module        libexec/libphp4.so

AddModule mod_php4.c

<IfModule mod_php4.c>
        AddType application/x-httpd-php .php .php4 .php3 .phtml
        AddType application/x-httpd-php-source .phps
    </IfModule>

<IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.shtml index.php index.cgi
</IfModule>

You probably won't need all of these. I think, if I'm not mistaken you'll
need
LoadModule php4_module        libexec/libphp4.so (or whatever the mod name is)

AddModule mod_php4.c ( same,depends on the name of the c file)

AddType application/x-httpd-php .php .php4 .php3 .phtml
(you can exclude any extensions you won't use)

IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.shtml index.php index.cgi
</IfModule>

you only need to add index.php if you plan to make it a default index page

also I think the order and area in the httpd.conf file maters so you might wanna
do a google search and find out. hope this helps

On Mon, 2 Dec 2002 20:46:09 -0800
"Bob Butkins" <[EMAIL PROTECTED]> wrote:

> I am running the following:
> Red Hat 7.3 Kernel 2.4.18-3
> Apache 1.3.27
> MySQL 3.23.53a rpm binary
> PHP 4.2.3
> 
> Apache is running fine and serving up web pages.
> 
> When I run the PHP test page, it indicates PHP is not running.
> 
> The httpd.conf file has this line in Section2:
> AddType application/x-httpd-php .php
> 
> I am not sure PHP has been installed correctly, since Apache is not starting
> it up.
> Where should PHP files be installed?
> On install of PHP, they were extracted into the folder for the domain that
> is using
> PHP.
> 
> I am eventually wanting to get VBulletin installed (it was working
> previously,
> but I had to reformat server drives).
> 
> PLEASE RESPOND ASAP...I have a deadline that is critical!!
> 
> Thank You.
> [EMAIL PROTECTED]
> 
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 


-- 
Jerry M. Howell II

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to