ID:               43677
 Comment by:       tborgans at gmx dot de
 Reported By:      root at net1 dot cc
 Status:           Open
 Bug Type:         Safe Mode/open_basedir
 Operating System: FreeBSD 6.2
 PHP Version:      5.2.5
 New Comment:

same problem here on linux with 5.2.5, apache 1.3.39


Previous Comments:
------------------------------------------------------------------------

[2008-01-06 21:38:14] d at tpyo dot net

Noticed the same thing with 5.2.5 on Linux w/ Apache 2.  I'm aware 
this is supposed to be the intended behaviour as of 5.2.5 but 
something is definitely breaking.

It seems the include_path is being unset or ignored at some point.  
Haven't experienced this at random as described - once it breaks it 
doesn't correct itself until restarting Apache.

Could be linked to the fix for bug #41561?

------------------------------------------------------------------------

[2007-12-26 01:47:49] 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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43677&edit=1

Reply via email to