ID:               11612
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           No Feedback
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Win2k Server
 PHP Version:      4.0.5
 New Comment:

See this?

>>You´re right. It works now!
>>Thank You

Closing...

-Chris


Previous Comments:
------------------------------------------------------------------------

[2002-02-14 00:00:03] [EMAIL PROTECTED]

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2002-01-13 16:40:09] [EMAIL PROTECTED]

You´re right. It works now!
Thank You

------------------------------------------------------------------------

[2002-01-13 16:26:13] [EMAIL PROTECTED]

Please read:

The document root in -->> Apache's httpd.conf <<--.

Look at your warning:
'Warning: Failed opening '/apache/htdocs/index.php'

Why doesn't that read:
'Warning: Failed opening 'c:\apache\htdocs\index.php'

?

------------------------------------------------------------------------

[2002-01-13 15:49:48] [EMAIL PROTECTED]

Sorry, problem is still alive:
Now I use the following:

; Windows: "\path1;\path2"
include_path = ".;c:\apache\htdocs\eucarkunden"
; The root of the PHP pages, used only if nonempty.
doc_root = c:\apache\htdocs

Problem is the same 'Warning: Failed opening '/apache/htdocs/index.php'
for inclusion (include_path='.;c:\apache\htdocs\eucarkunden') in
Unknown on line 0'

------------------------------------------------------------------------

[2002-01-13 15:23:02] [EMAIL PROTECTED]

The warning should probably go into:
http://www.php.net/manual/en/install.windows.php

The root of this problem, is not the include_path, but the DocumentRoot
Apache directive - or any document root setting on a windows
webserver.

While any path syntax works for Apache, only windows native works for
php. This goes for ISAPI as well, under other webservers, like Sambar.
Don't have IIS, so I haven't tested it there. Further more "\" is not
always the root of the current disk. I suppose it is, but current
probably is current for c:\winnt\system32\php4_ts.dll instead of the
webserver executable. Haven't fully debugged that.

In any case, specifying document roots in the windows native path
syntax, prefixed with the drive letter, fixes all of the above.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/11612

-- 
Edit this bug report at http://bugs.php.net/?id=11612&edit=1

Reply via email to