Open up your httpd.conf file and search for:
DocumentRoot

You need to change the setting so it points to the same directory as where
your webpage is stored. In my case, I store my files in 'C:/Documents and
Settings/Stephen/My Documents/Web Pages/', so I setting the Document Root
to:

DocumentRoot "C:/Documents and Settings/Stephen/My Documents/Web Pages"

Notice that you do not need a / at the end of the last directory (Web Pages
is a directory). Once you've done that, you need to find this section:

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "SOMETHING">

Change SOMETHING to the same as you entered for DocumentRoot. In my case, it
becomes:

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/Documents and Settings/Stephen/My Documents/Web Pages">

Once you have done those two things your server should be working.

----- Original Message -----
From: "paradiddles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 6:55 PM
Subject: [PHP-WIN] [newbie] What does this mean?


>
> Hey list,
>
> I'm still having problems loading my <?php phpinfo;?> where I get the
"HTTP 404 - File not found" error.
>
> When I view the apache error log, I see..
>
>  "[Tue Jan 07 11:56:21 2003] [error] [client 127.0.0.1] (2)No such file or
directory: script not found or unable to stat:
c:/php-4.3.0-win32/php.exe/phpinfo.php"
>
> Do you think this is the crux of the problem?
>
> thanks-
>
> PR
>
>
>
>
>
> ----------------
> "you can observe a lot by watching"
>
>   ~ Yogi Berra
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to