Inconsistent behaviour of include_path set with php_value
| Bug #43677 | Inconsistent behaviour of include_path set with php_value | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2007-12-26 01:47 UTC | Modified: | 2008-03-13 16:01 UTC |
|
||||||||||
| From: | root at net1 dot cc | Assigned: | ||||||||||||
| Status: | Closed | Package: | Safe Mode/open_basedir | |||||||||||
| PHP Version: | 5.2.5 | OS: | FreeBSD 6.2 | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2007-12-26 01:47 UTC] root at net1 dot cc
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
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2008-01-06 21:38 UTC] d at tpyo dot net
[2008-01-07 22:57 UTC] root at net1 dot cc
[2008-01-12 18:08 UTC] manuel at mausz dot at
[2008-01-13 03:14 UTC] root at net1 dot cc
[2008-01-17 13:40 UTC] manuel at mausz dot at
[2008-01-17 16:52 UTC] d at tpyo dot net
[2008-01-21 18:37 UTC] manuel at mausz dot at
[2008-02-14 12:06 UTC] it at inmolinkmls dot com
[2008-02-26 12:22 UTC] manuel at mausz dot at
[2008-03-07 20:21 UTC] oliver dot graetz at gmx dot de
[2008-03-13 16:01 UTC] iliaa@php.net