From: chicos at oleco dot net
Operating system: Windows XP
PHP version: 5.2.9
PHP Bug Type: CGI related
Bug description: PHP-CGI uses wrong Folder/File
Description:
------------
I installed PHP-CGI with Apache2 and used the MSI-Installer.
My Programs are in The Folder
D:\Web-Server\Programme\Apache\
D:\Web-Server\Programme\PHP 5.9.2\
and the htdocs are
D:\Web-Server\Programme\Apache\htdocs\
Reproduce code:
---------------
test.php:
<?php
echo("test");
?>
Expected result:
----------------
if i create in the htdocs-folder a test.php an access it thru
http://localhost/test.php then I get a 404-Error.
The Apache-Error-Logfiles show:
[error] [client 62.*****] File does not exist:
D:/Web-Server/Programme/Apache/htdocs/Web-Server
Why is there the folder at the end and not the filename of test.php? I
think it´s a Bug.
Actual result:
--------------
My doc_root = "D:\Web-Server\Programme\Apache\htdocs"
--
Edit bug report at http://bugs.php.net/?id=47611&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=47611&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=47611&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=47611&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=47611&r=fixedcvs
Fixed in CVS and need be documented:
http://bugs.php.net/fix.php?id=47611&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=47611&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=47611&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=47611&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=47611&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=47611&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=47611&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=47611&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=47611&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=47611&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47611&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47611&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=47611&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=47611&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=47611&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=47611&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=47611&r=mysqlcfg