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

Reply via email to