Jump to content

[SOLVED] Webrowser error 404 http://localhost/phpinfo.php


Recommended Posts

I'm following this install example

http://www.arterground.com/

 

Apache Services list the following:

 

Name

  Apache2.2

Description

  Apache/2.2.13 (Win32) PHP/5.3.0

Status

  Started

Log on as

  Local System

 

This seems to tell me that the php module is recognized by apache.

 

suggestions why my browser can  not find the phpinfo.php which is in my

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs

 

I even put this path in my Windows environmental variables list.

 

I'm running Firefox browser (latest version)

 

This what I added to httpd config file

#

LoadModule php5_module  "C:/Program Files/php/php5apache2_2.dll"

AddHandler application/x-http-php .php

PHPIniDir "C:/Program Files/php"

 

<IfModule dir_module>

    DirectoryIndex index.html index.php

</IfModule>

 

suggestions?

Link to comment
Share on other sites

Example output of Apache error log:

 

[Wed Sep 16 16:54:33 2009] [notice] Apache/2.2.13 (Win32) PHP/5.3.0 configured -- resuming normal operations

[Wed Sep 16 16:54:33 2009] [notice] Server built: Aug  6 2009 15:50:50

[Wed Sep 16 16:54:33 2009] [notice] Parent: Created child process 772

[Wed Sep 16 16:54:34 2009] [notice] Child 772: Child process is running

[Wed Sep 16 16:54:34 2009] [notice] Child 772: Acquired the start mutex.

[Wed Sep 16 16:54:34 2009] [notice] Child 772: Starting 64 worker threads.

[Wed Sep 16 16:54:34 2009] [notice] Child 772: Starting thread to listen on port 80.

[Wed Sep 16 16:55:15 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/phpinfo.php

 

 

Link to comment
Share on other sites

reinstalled Apache and followed the instructions at: http://www.arterground.com/

before I'd installed Apache prior to following these guide lines.

Although I had edited the http.conf to include /localhost where I thought it was needed, this didn't seem to resolve my predicament.

 

So then I reinstalled and as I said followed "agergound.com" guide lines

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.