View Full Version : PHP + Apache Problem
03-22-2007, 07:44 PM
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.
03-22-2007, 07:52 PM
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.
03-22-2007, 11:12 PM
is the file located in the .htdocs directory?
03-23-2007, 04:20 AM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.