ID: 45288
Updated by: [EMAIL PROTECTED]
Reported By: php at isnoop dot net
-Status: Assigned
+Status: Feedback
Bug Type: Filesystem function related
Operating System: Ubuntu 7.04 server
PHP Version: 5.3CVS-2008-06-17 (snap)
Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2008-07-29 08:35:57] [EMAIL PROTECTED]
Works fine with php.ini-dist
[EMAIL PROTECTED] CGI-DEBUG]$ cat bug45288.php
<?php
echo "getting: ".get_include_path()."\n";
echo "setting: ".set_include_path("/NEWPATH")."\n";
echo "getting: ".get_include_path()."\n";
[EMAIL PROTECTED] CGI-DEBUG]$ sapi/cli/php bug45288.php
getting: .:/home/dmitry/php/usr/php5.3-debug/share/pear
setting: .:/home/dmitry/php/usr/php5.3-debug/share/pear
getting: /NEWPATH
------------------------------------------------------------------------
[2008-07-28 20:33:37] php at isnoop dot net
Dmitry,
I've tested it with the latest snap (php5.3-200807281630) and it is
still broken for me. My tests are against php.ini-dist.
Are you using the repro code or some other approach? Also, could you
repeat your test with the dist php.ini?
------------------------------------------------------------------------
[2008-07-26 17:04:09] [EMAIL PROTECTED]
I'm not able to reproduce it. set_include_path() works as expected.
------------------------------------------------------------------------
[2008-07-11 00:38:39] php at isnoop dot net
This is reproducible without the use of php_admin_value.
------------------------------------------------------------------------
[2008-07-10 23:29:58] m dot hildenbrand at gmx dot net
Hi,
did you have any php_admin_value include_path Statement in your httpd
options ? If so, set_include_path() doesn't do anything as it protects
your httpd options. Remove any php_admin_value include_path statement
from your config and try again. The set_include_path() statement should
work properly.
I don't know for sure if this is the correct behavior of the function.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/45288
--
Edit this bug report at http://bugs.php.net/?id=45288&edit=1