Bug #11006 Updated: include_path in php.ini broken
| From: | sterling@php.net | Date: | Fri, 07 Dec 2001 14:10:55 +0000 |
| Subject: | Bug #11006 Updated: include_path in php.ini broken | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72853@lists.php.net to get a copy of this message | ||
ID: 11006
Updated by: sterling
Reported By: reitsmac@denison.edu
Old Status: Open
Status: Bogus
Bug Type: PHP options/info functions
Operating System: Solaris 7,8
PHP Version: 4.0.5
New Comment:
include_path works, administrators don't.
Previous Comments:
------------------------------------------------------------------------
[2001-05-23 15:10:07] reitsmac@denison.edu
I have added echo ini_get( 'include_path' ) after the PEAR section of http://charlie1.test.denison.edu/horde/test.php
------------------------------------------------------------------------
[2001-05-23 15:02:56] reitsmac@denison.edu
Yes. 755. Most includes are in the same directory. So with the broken include_path reading
'.:/usr/local/lib/php' scripts cannot read config.inc but have no trouble with
./config.inc.
------------------------------------------------------------------------
[2001-05-23 14:44:57] cynic@php.net
can you put echo ini_get( 'include_path' ) somewhere in that script?
------------------------------------------------------------------------
[2001-05-23 12:26:23] reitsmac@denison.edu
Let me emphasize that the problem is not that PEAR is broken. The problem is that the include_path
is being ignored if and only if it is set in the php.ini file. If I comment out the include_path in
php.ini then the master include_path (which is also '.:/usr/local/lib/php') is used and
pathless includes and PEAR work just fine.
------------------------------------------------------------------------
[2001-05-23 09:46:54] cynic@php.net
Is there PEAR.php in /usr/local/lib/php/ ? You must include the directory that contains this file,
so if /usr/local/lib/php/ contains pear/, you should make it
set_ini( 'include_path' , '.:/usr/local/lib/php/pear' )
------------------------------------------------------------------------
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/?id=11006
Edit this bug report at http://bugs.php.net/?id=11006&edit=1