Results 1 to 6 of 6
I got Apache working on FC 6 through the "service httpd start" command. Now I would like to install PHP and get it working with Apache. I don't now if ...
- 02-18-2007 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 76
Apache and PHP
I got Apache working on FC 6 through the "service httpd start" command. Now I would like to install PHP and get it working with Apache. I don't now if I need to configure Apache to get it working with PHP.
Could anyone help me to install PHP and get it working with Apache?
(I don't know if PHP is already included with FC 6 like Apache or if I need to get it from the website.)
- 02-18-2007 #2Linux User
- Join Date
- Aug 2006
- Location
- Croydon, PA
- Posts
- 392
Do the follow to see if it is installed and what version:
php -vGood Luck,
Ski
RHCT
- 02-19-2007 #3Just Joined!
- Join Date
- Feb 2007
- Posts
- 76
I did the php -v command but it said that command could not be found, so should I just go ahead and download php from the website, or is there any place that I can look to see if php is already in the system?
- 02-19-2007 #4Just Joined!
- Join Date
- Feb 2007
- Posts
- 41
I assume its the same as CentOS.
Then restart apache.Code:yum install php
- 02-19-2007 #5Linux User
- Join Date
- Aug 2006
- Location
- Croydon, PA
- Posts
- 392
Bingo!!! You got it.
Originally Posted by bashcurescancer.com Good Luck,
Ski
RHCT
- 02-19-2007 #6Just Joined!
- Join Date
- Feb 2007
- Posts
- 76
I am new to linux so I really don't know where the directories for certain things are at.
I got Apache to start through the "service httpd start" but I don't know where's the directory for Apache right now. Does anybody know which directory Apache could be installed at FC 6? That way I can save a php file at that directory to test and see if its working fine.


Reply With Quote
