Edit report at https://bugs.php.net/bug.php?id=62967&edit=1
ID: 62967 User updated by: 360586201 at qq dot com Reported by: 360586201 at qq dot com Summary: æ§è¡ææå½æ°æ¶å·¥ä½ç®å½æé®é¢ Status: Open Type: Bug Package: *Directory/Filesystem functions PHP Version: 5.3.16 Block user comment: N Private report: N New Comment: DocumentRoot "D:/www/" Previous Comments: ------------------------------------------------------------------------ [2012-08-29 14:09:09] [email protected] ä½ çDocumentRootè®¾ç½®çæ¯? ------------------------------------------------------------------------ [2012-08-29 13:25:57] 360586201 at qq dot com Description: ------------ 卿æå½æ°çå½åå·¥ä½ç®å½ç«ç¶å为äºapacheç®å½ æ´å¥æªçæ¯ï¼æä¸æ§è¡æ®éæ¹æ³æ¶ï¼ææå½æ°çå·¥ä½ç®å½æ¯æ£ç¡®çï¼ä¹æ¯ä»£ç çæ§è¡ç®å½ï¼å½ææ§è¡è¿æ® éæ¹æ³åï¼å°±ä¸ç´ä¸ºapacheç®å½äº Test script: --------------- <?php class get_path { function __construct() { //è·åå½åå·¥ä½è·¯å¾ echo getcwd().'<br>'; #è¾åº D:\www\test(ä»£ç æ§è¡ç®å½) } function write() { //è·åå½åå·¥ä½è·¯å¾ echo getcwd().'<br>'; #è¾åº D:\www\test(ä»£ç æ§è¡ç®å½) } function __destruct() { //è·åå½åå·¥ä½è·¯å¾ echo getcwd(); #è¾åº D:\Program Files\wamp\bin\apache\Apache2.2.21(apacheç®å½) } } $gl = new get_path(); $gl->write(); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62967&edit=1
