LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-11-2007, 03:12 AM   #1
modpriest
Member
 
Registered: Dec 2007
Posts: 32

Rep: Reputation: Disabled
How to install php for apache on fedora?


I have just installed the fedora 8 on my computer! I installed all packages. I successful run the apache using "service httpd start"!

How to install php for apache? I test with phpinfo(); it show nothing!!

Some pro please help me!!
 
Old 12-11-2007, 04:01 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Hi and welcome to LQ.

Does running phpinfo() show nothing at all or does the browser show the code? Can you enter the command below and post back the output.
Code:
rpm -qa | grep -i php
 
Old 12-11-2007, 04:03 AM   #3
bbfuller
Member
 
Registered: Dec 2007
Location: UK
Distribution: Fedora, CentOS, Sabayon,Manjaro, OpenSuSE
Posts: 209

Rep: Reputation: 35
Hello modpriest

I've used the following sections from the fedora guide to install mine with complete success.

http://www.fedoraguide.info/index.ph...r_.28apache.29

http://www.fedoraguide.info/index.ph...our_Web_Server

Although you already have apache, I can't guarantee that php will work without all of the parts from the apache howto.
 
Old 12-11-2007, 04:07 AM   #4
modpriest
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: Disabled
my browser show the code:

<?php
phpinfo();
?>
 
Old 12-11-2007, 04:10 AM   #5
modpriest
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: Disabled
the code:
Quote:
rpm -qa | grep -i php
show installed php!

but all of it not combine with apache!!
 
Old 12-11-2007, 04:50 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Do you have the file /etc/httpd/conf.d/php.conf on your system. If so can you post its contents here.

Last edited by reddazz; 12-11-2007 at 04:52 AM.
 
  


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
php/shell script to install mysql,apache and php automatically stranger_6_7 Linux - General 2 08-11-2009 02:07 AM
Fedora Core 3 And PHP + Apache xbigs Fedora 1 12-17-2005 07:24 AM
fedora core 4 + apache + php - how install gd2 support? rehtorisi Fedora 3 08-23-2005 11:32 AM
Fedora Apache and PHP RJDavison Fedora 1 05-22-2004 12:11 AM


All times are GMT -5. The time now is 01:12 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