#41966 [Opn->Fbk]: cannot set include_path in php.ini
| From: | sniper@php.net | Date: | Wed, 11 Jul 2007 18:39:53 +0000 |
| Subject: | #41966 [Opn->Fbk]: cannot set include_path in php.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114932@lists.php.net to get a copy of this message | ||
ID: 41966
Updated by: sniper@php.net
Reported By: badaboom003-asdf at yahoo dot com
-Status: Open
+Status: Feedback
Bug Type: PHP options/info functions
Operating System: Ubuntu 7.04 Feisty Fawn AMD64
PHP Version: 5.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
And check phpinfo() output for what php.ini files was loaded and
actually in use.
Previous Comments:
------------------------------------------------------------------------
[2007-07-11 17:28:07] badaboom003-asdf at yahoo dot com
Description:
------------
Using:
Apache/2.2.3 (Ubuntu) PHP/5.2.1
can't change the include_path in php.ini. it always defaults to:
".:/usr/share/php:/usr/share/pear".
i know i'm using the correct php.ini file because it shows the correct
Configuration File Path in phpinfo().
i can successfully set other variables in php.ini such as memory_limit
or whatever, restart apache, and everything works fine. however, when i
try to change the include_path, nothing happens.
Reproduce code:
---------------
; UNIX: "/path1:/path2"
include_path =
".:/usr/share/php:/usr/share/php/PEAR:/var/somesite/app/classes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
Expected result:
----------------
when i run phpinfo() i should see:
include_path .:/usr/share/php:/usr/share/pear:/var/somesite/app/classes
Actual result:
--------------
what i actually see is:
include_path .:/usr/share/php:/usr/share/pear
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41966&edit=1