Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-11-2008, 10:23 AM   #1
LQ Newbie
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
PHP redhat enterprise 5

I cannot figure out where to turn on php. Any ideas on how to turn it on? It won't run a basic php version script. So it appears it isn't installed or running.

In the services there is no php.

The redhat documentation is vague.


a total linux noobie
Old 02-11-2008, 11:31 AM   #2
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
is php installed? To verify please type the following from the Shell:
rpm -qa | grep php
On a default installation of a Redhat like system, Apache comes with PHP built in. Apache needs ot be compiled with PHP support.
The command above will show you all PHP related packages on the system. PHP has either to be installed as an RPM package or complied from source.

Please look at apaches config file and verify the following line:
LoadModule php ....
Make sure that such a line is not commented since that's the line that tells Apache to use PHP as a model. PHP might installed but not enabled apache wise.

Last edited by waelaltaqi; 02-11-2008 at 11:34 AM.


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
How to install php 5.2.5 on redhat enterprise linux4? sushil9185 Linux - Software 4 12-05-2007 12:40 PM
update redhat enterprise to php 5.0.2 ltbaggz Red Hat 3 11-29-2006 08:43 AM
update redhat enterprise to php 5.0.2 ltbaggz Linux - Software 1 11-27-2006 11:15 PM
session problem in php on linux redhat enterprise websoftexpert Linux - Newbie 1 07-21-2006 08:33 AM
Help with OCI8/PHP APACHE on Redhat enterprise AS 3.0 pdave Linux - Software 0 07-21-2004 10:12 AM > Forums > Linux Forums > Linux - Newbie

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

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