Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-29-2008, 11:28 PM   #1
Registered: Sep 2008
Distribution: Fedora 9
Posts: 68

Rep: Reputation: 15
Apache Setup

This is my first time installing Apache and I have some basic questions...Apache is fully installed...I'm attempting to install gmail-lite on it as an experiment to see if its working...when I type my domain into my browser (on a different computer in my network) I get the message "It Works" which I'm assuming is a good sign...however the gmail lite directory (which I extracted into /var/www/ ) is showing that I need to "run" a .php do I run a .php file and since I extracted the folder into the appropriate directory shouldn't the web interface automatically come up in lieu of "It Works"...please walk me through this one like a baby...thanks
Old 10-30-2008, 03:31 AM   #2
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,548

Rep: Reputation: 136Reputation: 136
"It works" is the default message sent by apache when it is running It has nothing to do with programs running on it. You have to install the php-module for apache. I don't know fedora but for sure there will be an rpm for that purpose and an installation tool available, too. I dont know either whether /var/www is the document root of this apache. It may reside somewhere else.
Old 10-30-2008, 03:31 AM   #3
LQ Newbie
Registered: Oct 2008
Posts: 9

Rep: Reputation: 0
You need the php module installed, activated and set up. Which distro?
Old 10-30-2008, 03:44 AM   #4
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
What Distro, Fedora 9?
Save this as phpinfo.php and upload it to your webserver and open it with a browser.
	<title>PHP Test</title>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<h1>PHP Test</h1>
	<b>An Example of PHP in Action</b><br />
		<?php echo "The Current Date and Time is: <br>";
			echo date("g:i A l, F j Y.");?>

	<h2>PHP Information</h2>
		<?php phpinfo(); ?>
What happens?
Old 10-30-2008, 06:30 PM   #5
Registered: Sep 2008
Distribution: Fedora 9
Posts: 68

Original Poster
Rep: Reputation: 15

Thanks so much was in fact that I didn't have php installed

Thank you for all of your help...


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
Apache Setup metallica1973 Linux - Server 4 05-08-2008 05:06 PM
Apache setup mvnetn Linux - Enterprise 4 07-16-2006 09:55 AM
Apache setup aeruzcar Linux - Networking 10 05-22-2004 06:07 PM
Apache setup help? TechSonic Linux - Newbie 7 02-23-2004 11:51 AM
Apache 2 setup fredws Mandriva 2 11-13-2003 05:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:02 AM.

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