Richard, et al, I tried your suggestion of the .htaccess file but that didn't do anything. I'm using Webmin to administer the linux box and the Apache server configs has a PHP module and that allowed me to set a directory level include_path. Problem solved. Now onwards towards configuring pear. Cheers George > -----Original Message----- > From: Richard Lynch [mailto:ceo@xxxxxxxxx] > Sent: 14 February 2006 11:56 pm > To: George Pitcher > Cc: php-general@xxxxxxxxxxxxx > Subject: RE: Problem with php.ini and include_path > > > http://php.net/set_include_path > > .htaccess > php_value include_path ".:/whatever/you/want/here" > > Also, you are comparing the output of php CLI which may or may not be > the same as --with-apxs compilation, especially if you have an *OLD* > CLI php sitting around... > > From the command line, compare: > which php > with the output from your "make install" of PHP and see if you're even > running the php binary you THINK you are running. > > On Tue, February 14, 2006 9:13 am, George Pitcher wrote: > >> George Pitcher wrote: > >> > Hi, > >> > > >> > I have compiled php-5.1.2 with apache on Debian and have a > >> problem with the > >> > include_path. > >> > > >> > My configure was './configure' '--with-mysql' '--with-pear' > >> '--with-apxs' > >> > >> the '--with-apxs' suggest your probably running php as an apache > >> module, > >> if so then you'll need to restart apache for the settings in php.ini > >> to take affect. > >> > > > > Jochem, > > > > Sorry, I should have said that I'd done that as well. Still no joy. > > > > One other thing that I have noticed is that if I do 'php -i |grep > > include_path' from outside the directory where php.ini is it says > > 'include_path => .:/usr/lib/php' but if I do that from within the same > > directory as php.ini I get the include_path that I have set in > > php.ini. > > > > Cheers > > > > George > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > Like Music? > http://l-i-e.com/artists.htm > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php