Bug #11612 Updated: php_include completely non-functional

From: Date: Sun, 13 Jan 2002 20:02:36 +0000
Subject: Bug #11612 Updated: php_include completely non-functional
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76903@lists.php.net to get a copy of this message
ID: 11612 Updated by: yohgaki Old Reported By: uhl@cis.ohio-state.edu Reported By: msopacua@idg.nl Old Status: Bogus Status: Feedback Old Bug Type: PHP options/info functions Bug Type: Documentation problem Operating System: Win2k Server PHP Version: 4.0.5 New Comment: Make this to doc problem. Current http://www.php.net/manual/en/configuration.php uses full path. What should be fixed? Previous Comments: ------------------------------------------------------------------------ [2002-01-13 13:34:44] msopacua@idg.nl Should be reclassified as documentation problem. Use: 1) a full reference including the disk, i.e.: .;c:\include\path 2) For virtual hosts, the document root in Apache httpd.conf should follow the same principles, i.e.: DocumentRoot "c:\www\demoxpress.com\html" ------------------------------------------------------------------------ [2002-01-13 13:09:55] tobi@xonline.de Still have the same problem: Some configuartion: Win2000 pro, apache 1.3.14 and PHP4.1.1 if the include_path is empty.. no problem if I put anything in eg 'include_path = ".;\apache\htdocs\" error message is like this: 'Warning: Failed opening '/apache/htdocs/phpinfo.php' for inclusion (include_path='.') in Unknown on line 0' Everything works fine, if there´s nothing in the include_path. Do you have a solution in the meantime? ------------------------------------------------------------------------ [2001-12-18 16:21:08] cmk@php.net Did more testing, always works for me. ------------------------------------------------------------------------ [2001-12-18 15:56:18] cmk@php.net On my Win2k box it works just fine, include_path has always been '.' only. It worked with PHP 4.0.6 and still works with 4.1.0. Your problem must be caused by something else. ------------------------------------------------------------------------ [2001-06-24 02:28:42] uhl@cis.ohio-state.edu nope, exactly the same. :( ------------------------------------------------------------------------ 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/?id=11612 Edit this bug report at http://bugs.php.net/?id=11612&edit=1

« previous php.dev (#76903) next »