LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2009, 11:09 AM   #1
AD123
LQ Newbie
 
Registered: Jan 2009
Posts: 5
Blog Entries: 3

Rep: Reputation: 0
pls help me, unable to run php on centos 5


Unable to run PHP 5.1.6 on centos 5. When ever i run the testing script and check it on a browser i can see that script on the web brower instead of php home page. I am new to centos. Pls help me as soon as possible.
 
Old 01-23-2009, 12:33 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by AD123 View Post
Unable to run PHP 5.1.6 on centos 5. When ever i run the testing script and check it on a browser i can see that script on the web brower instead of php home page. I am new to centos. Pls help me as soon as possible.
We volunteer our time here, please don't tell us to hurry to help you.

You've got one of two problems. Either PHP isn't installed on your system, or your Apache server isn't loading the PHP modules. First thing is to see if you've got PHP installed...type in "php -v" at the command line, as root. If it doesn't return anything, do a "locate php" or "find / -name php", and see what it returns. If you find it, put in the whole path name as "/path/to/php -v".

If you don't find it, it's (obviously), not installed. Google has several links to this, but this seems straight foward:

http://bluhaloit.wordpress.com/2008/...-centos-5-etc/
 
  


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
Pls help with Centos + postfix + dovecot.... maceee Linux - Server 24 11-17-2008 02:05 PM
Centos 5.2 running Apache 2 and PHP 4 cannot display info.php codenjanod Linux - Server 2 08-19-2008 02:00 AM
Unable to update php on Centos 4 vins Linux - Newbie 1 06-23-2008 12:57 AM
Unable to Run sudo due to getresuid() Not Working on CentOS 3.1 Xyrael Linux - Security 14 02-06-2008 08:29 PM
[SOLVED] which one to install centOS 4 or centOS 5 ? Pls HELP !!! vikas027 Linux - Newbie 2 05-13-2007 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:38 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
Open Source Consulting | Domain Registration