LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mod_php (https://www.linuxquestions.org/questions/linux-newbie-8/mod_php-403136/)

SuperBongBoy 01-13-2006 09:28 PM

Mod_php
 
Hi, my installation of Fedora Core 3 has apache on it and it's not recognising PHP files properly.

I think I need "mod_php", has anyone got a good guide or can tell me how to install this?

I've been looking through the internet but I can't find anywhere where I can install it without losing loads of settings!

Please help, this is driving me crazy

Regards,
Ben

btmiller 01-14-2006 02:19 AM

Do you have the php package installed (i.e. does "rpm -q php" [no quotes] run in the terminal show it as installed)? If not, you should just go ahead and install it -- I would suggest using yum. It should not disrupt any of your existing Apache settings.

SuperBongBoy 01-14-2006 07:38 AM

Hi, all the php things are installed, and so is apache but I don't have mod_php

btmiller 01-14-2006 01:05 PM

That's strange -- if you do "locate libphp4.so" does it find anything? You should have a file /etc/httpd/conf.d/php.conf that tells Apache to load the libphp4.so module and to use it to process files with .php extensions. Do you have that? If not, it sounds like something isn't installed correctly, so you may want to try reinstalling the PHP RPMs.


All times are GMT -5. The time now is 11:07 PM.