Bug #16099 Updated: Include_path predefined

From: Date: Fri, 15 Mar 2002 21:52:52 +0000
Subject: Bug #16099 Updated: Include_path predefined
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2620@lists.php.net to get a copy of this message
ID: 16099 Updated by: sniper@php.net Reported By: admin@malayx.com -Status: Open +Status: Feedback Bug Type: Output Control Operating System: WindowsXP PHP Version: 4.1.2 New Comment: This should be fixed in CVS. And setting include_path in php.ini to this: include_path = ".;c:\php4\pear" should fix it too. (ie. no need to wait for release) Previous Comments: ------------------------------------------------------------------------ [2002-03-15 13:53:58] admin@malayx.com Warning: Failed opening 'configuration.php' for inclusion (include_path='c:\php4\pear') in g:\home\malay\public_html\classes\test.php on line 2 php installed directory ------------------------ G:\PHP Apache installed directory ------------------------- G:\Apache Server Document root ---------------------- G:\home\malay\public_html Directory Structure ------------------- home- |_ malay |_ public_html________ | | configuration.php | test1.php | |_ classes | test.php script for test1.php -------------------- <? include ("classes/test.php"); echo "Welcome to my testing site"; ?> Script for test.php in classes folder ------------------------------------- <? include ("configuration.php"); ?> ------------------------------------- This is just a test script to see if the include("classes/test.php") in test1.php make test.php at the same directory level with the test1.php as previous version of PHP did. Note: Even my working postnuke local dev site did function anymore due the same problem. Another thing I did not set anything on "include_path" directive. Even I did it make no different. Tried that. Hope someone can help and thanks in advance. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16099&edit=1

« previous php.bugs (#2620) next »