LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-25-2006, 12:18 PM   #1
imagined
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Rep: Reputation: 0
Does Apache comes included with Fedora 5?


I just installed Fedora on my system.
I also installed Bluefish since I will be using it to do some web development.

I want to install Apache, PHP and MySQL. Now, I heard that Apache may be already included in the operating system.

So when I login as root and type httpd -v on the terminal, this comes out:

Server version: Apache/2.2.0
Server build: Feb 11 something something

So I guess this means it is installed. But I make a search for apache folder and can't find it. I also type http://localhost on the browser and it doesnt work. I have been looking on the Services and can't find it anywhere.

SO HERE ARE MY THREE QUESTIONS:

In what folder is Apache supposed to be, IFFFF it is installed?

Are PHP and MySQL already included with Fedora 5?

When I login as an user the httpd -v command doesnt work. Why?

Thanks in advance,

Leo
 
Old 08-25-2006, 02:06 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
To find out if apache is installed you can use the rpm command. I believe it is rpm -qa will tell you all packages installed. Now as far as the directory for apache files it is normally
/var/www/htdocs. I would check your /etc/apache directory for more information. As far as PHP and mySQL being installed I am not sure. If you chose to install them during your pc installation then yes they are there.
 
Old 08-25-2006, 02:19 PM   #3
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
You can use "rpm -qa|grep php" to search for packages that have php in the title. If certain things are not installed, like if mysql-server is not installed, you can issue the following command:
yum install mysql-server
and it will be downloaded and installed from a mirror.

The reason that command worked as root and not as a user is becuase of your path. If you type "/usr/sbin/httpd -v" it will work no matter who you are logged in as.

The default root directory for your website is /var/www/html and the config files are located in /etc/httpd/

Some packages you will need are httpd, php, php-mysql, mysql-server. You may require some others like mod_auth_mysql, mysql-administrator, system-config-httpd, httpd-manual (never hurts), mysql-gui-common
 
Old 09-08-2006, 12:21 AM   #4
erics_acvw
LQ Newbie
 
Registered: Nov 2004
Location: Sparks, NV
Distribution: RH7.3, RH8.0, FC10, COS4.5
Posts: 25

Rep: Reputation: 16
Make sure selinux is disabled in the /etc/selinux.conf file too or you'll pull your hair out. Run system-config-securitylevel to alter your firewall. Make sure apache is running.
 
  


Reply

Tags
apache, httpd, mysql, php



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
LXer: Mono to Be Included in Fedora Core 5 LXer Syndicated Linux News 0 01-11-2006 04:46 AM
How to find out if DSO support is included in Apache installation? john lee Linux - Newbie 3 05-04-2005 03:35 AM
G77 Fortran included in Fedora 2 ? aeslin Linux - Software 1 11-08-2004 07:27 AM
Apache included? carlosinfl Debian 1 10-14-2004 05:56 PM
upgrading apache 2.0.40 (RH8 included) to 2.0.43 help needed groovin Linux - Networking 10 01-28-2003 05:35 PM

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

All times are GMT -5. The time now is 05:54 AM.

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