#45288 [NoF->Csd]: set_include_path() functionality broken

[email protected] ("php at isnoop dot net")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45288
 User updated by:  php at isnoop dot net
 Reported By:      php at isnoop dot net
-Status:           No Feedback
+Status:           Closed
 Bug Type:         Filesystem function related
 Operating System: Ubuntu 7.04 server
 PHP Version:      5.3CVS-2008-06-17 (snap)
 Assigned To:      dmitry
 New Comment:

Okay, it appears that the host in question was indeed using
php_admin_value to set include_path, which is no longer able to be
overridden at runtime.

This change was introduced in 5.2.5, ticket #41561.

Closing ticket.


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

[2008-08-09 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2008-07-29 08:35:57] [email protected]

Works fine with php.ini-dist

[dmitry@tpl 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";

[dmitry@tpl 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.

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

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.