#41966 [NEW]: cannot set include_path in php.ini

From: Date: Wed, 11 Jul 2007 17:28:08 +0000
Subject: #41966 [NEW]: cannot set include_path in php.ini
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-114924@lists.php.net to get a copy of this message
From: badaboom003-asdf at yahoo dot com Operating system: Ubuntu 7.04 Feisty Fawn AMD64 PHP version: 5.2.3 PHP Bug Type: PHP options/info functions Bug description: cannot set include_path in php.ini Description: ------------ Using: Apache/2.2.3 (Ubuntu) PHP/5.2.1 can't change the include_path in php.ini. it always defaults to: ".:/usr/share/php:/usr/share/pear". i know i'm using the correct php.ini file because it shows the correct Configuration File Path in phpinfo(). i can successfully set other variables in php.ini such as memory_limit or whatever, restart apache, and everything works fine. however, when i try to change the include_path, nothing happens. Reproduce code: --------------- ; UNIX: "/path1:/path2" include_path = ".:/usr/share/php:/usr/share/php/PEAR:/var/somesite/app/classes" ; ; Windows: "\path1;\path2" ;include_path = ".;c:\php\includes" Expected result: ---------------- when i run phpinfo() i should see: include_path .:/usr/share/php:/usr/share/pear:/var/somesite/app/classes Actual result: -------------- what i actually see is: include_path .:/usr/share/php:/usr/share/pear -- Edit bug report at http://bugs.php.net/?id=41966&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41966&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41966&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41966&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41966&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41966&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41966&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41966&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41966&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41966&r=support Expected behavior: http://bugs.php.net/fix.php?id=41966&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41966&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41966&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41966&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41966&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41966&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41966&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41966&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41966&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41966&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41966&r=mysqlcfg

« previous php.bugs (#114924) next »