Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-18-2006, 05:04 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 8

Rep: Reputation: 0
Apache Server setup problem...


I've decided to set up an Apache Server and install PHP 5 into that, running Fedora Core 4. My problem is that (and Im a real noob) I can't find a proper tutorial that actually makes PHP 5 works with the APache server. My Apache server is running, and I can see my HTML code, but not my PHP.

Can you find some nice tutorial or give me a simple description on how to make Apache "aware" of that PHP 5 is installed

Best Regards

Christian Sorensen
Old 05-18-2006, 05:20 PM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
How did you install these packages. If you compiled from source, take a look at the docs at for how to configure apache to work with php5.
Old 05-18-2006, 10:52 PM   #3
Registered: Jul 2005
Posts: 104

Rep: Reputation: 15
Did you double check your code... Because when I started to use php, I found that the reason why I couldnt see any of my php files was because of stupid mistakes in my code...
Try this code and save it as phptest.php

<title>PHP Test</title>
echo "Hello World";

If this code works, then everything should be running ok with your server...
Old 05-19-2006, 08:23 AM   #4
LQ Newbie
Registered: Nov 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Double checking

I thought of the same thing at first, but I've triple checked it, and it works on one of my friends PHP servers, so I can't be my code that is wrong
Old 05-22-2006, 12:00 PM   #5
Registered: Jul 2005
Posts: 104

Rep: Reputation: 15
Did you install it yourself or was php already installed...

You can also check out:
Old 05-23-2006, 02:57 PM   #6
LQ Newbie
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
are you installing php5?


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 virtual server setup GeneralChaos Linux - Software 6 09-27-2005 11:12 AM
setup of apache server to host own domain captain skywave SUSE / openSUSE 0 02-22-2005 02:40 PM
apache web server setup eastsuse Linux - Newbie 8 11-22-2004 03:10 PM
Setup the apache server ust Linux - Software 5 11-13-2003 06:32 AM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 09:35 AM

All times are GMT -5. The time now is 03:49 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