Bug #11006 Updated: include_path in php.ini broken

From: Date: Wed, 23 May 2001 12:44:57 +0000
Subject: Bug #11006 Updated: include_path in php.ini broken
Groups: php.dev 
Request: Send a blank email to php-dev+get-56478@lists.php.net to get a copy of this message
ID: 11006 Updated by: cynic Reported By: reitsmac@denison.edu Status: Feedback Bug Type: *Configuration Issues Operating system: PHP Version: 4.0.5 Assigned To: Comments: can you put echo ini_get( 'include_path' ) somewhere in that script? Previous Comments: --------------------------------------------------------------------------- [2001-05-23 03:50:35] sniper@php.net Works for me just fine. Is that path readable by the user the Apache runs as? --Jani --------------------------------------------------------------------------- [2001-05-21 21:39:31] reitsmac@denison.edu Here's a link to a broken web server: http://charlie1.test.denison.edu/horde/test.php It's the Horde project test page to determine if the functionality is present necessary to support horde. At the bottom of the page note that PEAR is broken. Yet the phpinfo link at the top of the page shows the include_path is '.:/usr/local/lib/php'. I can fix the problem by removing include_path from php.ini and depending on the default path. --------------------------------------------------------------------------- [2001-05-21 21:22:00] reitsmac@denison.edu Yes...for example, I changed include_path to '.:/usr/local/lib/php:/usr/local/lib/php/pear' in php.ini. phpinfo faithfully reported the change but files contained in the path could not be found. --------------------------------------------------------------------------- [2001-05-21 19:22:58] sniper@php.net Are you sure your php.ini is even used by PHP ? Where is it located in your system? --Jani --------------------------------------------------------------------------- [2001-05-21 19:20:57] reitsmac@denison.edu './configure' '--with-apxs=/usr/local/apache/sbin/apxs' '--with-mysql=/usr/local' '--with-imap=/var/installs/imap-2000c' '--with-zlib=/usr/local' '--with-gettext=/usr' '--with-mm=/usr/local' '--with-xml' '--with-dom' '--with-expat-dir=/usr/local' '--with-sablot=/usr/local' '--with-ldap=/usr/local' '--with-db3=/usr/local' '--with-oci8' '--enable-ftp' php.ini include_path set to '.:/usr/local/lib/php' if include_path is set in php.ini then it is ignored except for informational purposes; phpinfo reports what include_path in php.ini contains but scripts cannot find files. Default include_path works. Setting include_path via http.conf php_value works. --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11006&edit=2

« previous php.dev (#56478) next »