logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: 404 Error on First Apache PHP Test
Author
breader



Joined: 15 Oct 2006
Posts: 1

PostPosted: Sun 15 Oct '06 4:48    Post subject: 404 Error on First Apache PHP Test Reply with quote

Hi. I have installed PHP 5.1.6 and Apache 2.0.59 on Windows XP for the first time. Everything seemed to go well during the installation. However when I create a file phpinfo.php containing

<?php
phpinfo();
?>

save it in the apache htdocs folder and run http://localhost/phpinfo.php in my browser to test my installation, I get a 404 error.

I have already added the following code:

LoadModule php5_module "c:/php5/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php5"

to the configuration file httpd.conf and i have set the PATH to c:/php5

Does anyone know what else I can try to get it to work?

thanks.

Ben
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Sun 15 Oct '06 9:28    Post subject: Reply with quote

make sure the file name is correct, windows doesn't show extentions by default so your file might be called phpinfo.php.txt or something.
Back to top


Reply to topic   Topic: 404 Error on First Apache PHP Test View previous topic :: View next topic
Post new topic   Forum Index -> Other Software