Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-22-2007, 07:44 PM   PM User | #1
KitKat
New to the CF scene

 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
KitKat is an unknown quantity at this point
PHP + Apache Problem

Ok, as of now I have PHP 5.21 and Apache 2.2 installed on my server machine. When I connect to localhost to test the server, the default .html file apache uses comes up ok, meaning I can connect to the server. The problem I'm having is that when I go to localhost/test.php nothing comes up. I'm know the file is there under the correct name, and it should echo to say "Hi there". Instead it shows nothing. It also won't show php if I append it to the html file, but the html still shows fine.

Any ideas?
KitKat is offline   Reply With Quote
Old 03-22-2007, 07:52 PM   PM User | #2
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,602
Thanks: 2
Thanked 398 Times in 391 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
Make sure php is enabled in the httpd.conf(and check the paths), and check your error logs. Also search the forums, this question has been asked before and your problem might have already been answered.
Inigoesdr is offline   Reply With Quote
Old 03-22-2007, 11:12 PM   PM User | #3
jlhaslip
Regular Coder

 
Join Date: Feb 2007
Location: Canada
Posts: 924
Thanks: 10
Thanked 56 Times in 55 Posts
jlhaslip is on a distinguished road
is the file located in the .htdocs directory?
jlhaslip is offline   Reply With Quote
Old 03-23-2007, 04:20 AM   PM User | #4
KitKat
New to the CF scene

 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
KitKat is an unknown quantity at this point
Yes @ jihaslip, and I've checked all the paths and values in the conf file and they are all correct. Ill take a look around and see what I can find.
KitKat is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:36 AM.


Advertisement
Log in to turn off these ads.