#43677 [NEW]: Inconsistent behaviour of include_path set with php_value
| From: | root at net1 dot cc | Date: | Wed, 26 Dec 2007 01:47:49 +0000 |
| Subject: | #43677 [NEW]: Inconsistent behaviour of include_path set with php_value | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-120865@lists.php.net to get a copy of this message | ||
From: root at net1 dot cc
Operating system: FreeBSD 6.2
PHP version: 5.2.5
PHP Bug Type: Safe Mode/open_basedir
Bug description: Inconsistent behaviour of include_path set with php_value
Description:
------------
PHP randomly assigns for the local include_path value the global one, not
the one set with php_value, and, when it does assign the global value, it
does not allow to use ini_set() to modify it (behaves like it was set with
php_admin_value).
Reproduce code:
---------------
My default include path is ".:/usr/local/share/pear". In the httpd.conf
(btw, this is Apache 2.2.x), I have:
php_value include_path .:/blabla
There's a file 'test.php' which contains the following:
<?php phpinfo(); ?>
Expected result:
----------------
I open the test.php in a web browser and keep refreshing it. I expect it
to show:
include_path .:/blabla
each time i refresh it
Actual result:
--------------
The results are random, once it shows:
include_path .:/blabla
once it shows:
include_path .:/usr/local/share/pear
--
Edit bug report at http://bugs.php.net/?id=43677&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43677&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43677&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43677&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43677&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43677&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43677&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43677&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43677&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43677&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43677&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43677&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43677&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43677&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43677&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43677&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43677&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43677&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43677&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43677&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43677&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43677&r=mysqlcfg