LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2006, 10:28 PM   #1
SuperBongBoy
LQ Newbie
 
Registered: Sep 2004
Location: Lincoln, UK
Distribution: Mandrake, Debian, Fedora, SuSE (although it sucks =))
Posts: 27

Rep: Reputation: 15
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
 
Old 01-14-2006, 03:19 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.
 
Old 01-14-2006, 08:38 AM   #3
SuperBongBoy
LQ Newbie
 
Registered: Sep 2004
Location: Lincoln, UK
Distribution: Mandrake, Debian, Fedora, SuSE (although it sucks =))
Posts: 27

Original Poster
Rep: Reputation: 15
Hi, all the php things are installed, and so is apache but I don't have mod_php
 
Old 01-14-2006, 02:05 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where to get mod_php PennyroyalFrog Linux - Newbie 7 06-03-2004 07:36 PM
Apache and mod_php :( bifur Linux - Software 1 02-29-2004 10:45 AM
mod_php installed, but still no mime... lhoff Linux - Software 0 11-19-2002 02:03 AM
Slack-8.1: Apache + mod_php pickledbeans Slackware 2 07-07-2002 12:40 PM
mod_php for apache in Redhat etfetius Linux - Software 1 05-24-2002 01:39 AM


All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration