Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: test.php displaying page cannot be found |
|
Author |
|
gdawdy
Joined: 29 Oct 2007 Posts: 1
|
Posted: Mon 29 Oct '07 21:25 Post subject: test.php displaying page cannot be found |
|
|
When I put together a base .php document to test my apache server I am unable to get the document to load.
my test.php file includes the following
<?php
phpinfo();
?>
I then saved the file in my htdocs folder.
I'm able to get to http://localhost just fine but when I type in http://localhost/test.php I get a page cannot be displayed error.
I'm currently running Apache 2.2.6 and PHP 5.2.4
My httpd conf file includes the following
PHPIniDir "C:/Program Files/Apache Software Foundation/Apache2.2/"
LoadModule php5_module "C:/Program Files/Apache Software Foundation/Apache2.2/php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Anyone happen to know why I'm getting page cannot be displayed? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 30 Oct '07 1:35 Post subject: |
|
|
I'm just going to throw this out there
if you used Notepad to make the file, good chance it got named test.php.txt
you might want to check, other than that with the info given I cannot see a reason.
What does the error log say? Might be a clue in there. |
|
Back to top |
|
|
|
|
|
|