ID: 14797 Updated by: [EMAIL PROTECTED] -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating System: Windows 98 SE PHP Version: 4.1.0 New Comment:
Ive jsut installed XP and straight away none of the include that specify FULL path to the file work .. Relative works fine. Everythign used to work like it is suposed to under win2k. I found that the only way to solv this is to add a FULl FULL path including the drive letter. (before i used to add just the path to the root of the webserver)... Any idea what might be causing this Besides win XP? Previous Comments: ------------------------------------------------------------------------ [2002-02-04 16:45:27] [EMAIL PROTECTED] I found solution %) php_value include_path "/.;C:\var\www;" Add in include_patch /. All working! Tested in php4.0.4rc1,4.0.6,4.1.1 ------------------------------------------------------------------------ [2002-01-30 12:55:33] [EMAIL PROTECTED] Hello, D:\127\Apache\Apache.exe -d "d:\127\apache" -k shutdown D:\127\Apache\Apache.exe -w -f "D:\127\Apache\conf\httpd.conf" -d "D:\127\Apache\" Martin ------------------------------------------------------------------------ [2002-01-30 12:50:54] [EMAIL PROTECTED] Martin, Just checking that you're restarting Apache after each edit to PHP.ini... You don't have to restart in CGI mode for changes to happen, but SAPI needs it (since PHP is loaded into Apache's memory space). -Garth ------------------------------------------------------------------------ [2002-01-24 17:48:44] [EMAIL PROTECTED] We're getting hit by this too. Funny how because the local dev box is windows xp we can't use include_path for a unix main server! :(. Anyway, I tried the idea of using C:\apache/htdocs as the DocumentRoot, and Apache stopped reading .htaccess files completely, rendering the workaround useless. This is a major issue for us, I'm having to scream for a local unix dev box... ------------------------------------------------------------------------ [2002-01-17 11:11:47] [EMAIL PROTECTED] How about include(getenv("DRIVELETTER")."/foo/test.php"); and setting this environment variable locally (chances are it isn't set on the real webserver). Cheerio, Marc. ------------------------------------------------------------------------ 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/14797 -- Edit this bug report at http://bugs.php.net/?id=14797&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php