Hi Good Guy,

When I loaded test.php into the browser with localhost/test.php it only echoed the contents of test.php back. If I do the same thing with any .php file I have in htdocs the result is the same - echoes back the content of the file. If I type localhost/test I get the 404 error message... "The requested URL /test was not found on this server."

Robert

----- Original Message ----- From: "Good Guy" <xfs...@hotmail.com>
To: <users@httpd.apache.org>
Sent: Saturday, December 07, 2013 8:59 PM
Subject: [users@httpd] Re: Error 404 Not Found


On 07/12/2013 23:26, Robert wrote:
Did not resolve the issue.  Thanks for trying...
Robert



Does your server recognize any of the .php files? To test it, create a blank file and paste this code in it:

<?php phpinfo(); ?>

Now save this file in your htdocs folder as "test.php" (without the quotes of course).

Now try to load the file in your browser by typing:

localhost/test.php

If it loads then your server is setup to load php files; If it doesn't load then you know it is not set up correctly. By loading the file, you should get various php configuration details but you don't need to worry about it for now except that it should load correctly.


--
Good Guy
Website: http://mytaxsite.co.uk
Website: http://html-css.co.uk
Email: http://mytaxsite.co.uk/contact-us



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to