Michael,

This works for us:

<Location />
        php_value include_path "/usr/local/etc/httpd/htdocs/site/inc:."
</Location>

in the httpd.conf.

good luck,
@lvin

-----Original Message-----
From: Temeschinko, Michael [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 11:40 PM
To: 'Steve Werby'; Temeschinko, Michael; Php-General (E-Mail)
Subject: RE: [PHP] inlude_path not in php.ini




> -----Original Message-----
> From: Steve Werby [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 05, 2001 4:57 PM
> To: Temeschinko, Michael; Php-General (E-Mail)
> Subject: Re: [PHP] inlude_path not in php.ini
> 
> 
> "Temeschinko, Michael" <[EMAIL PROTECTED]> wrote:
> > How do I set the php-iclude path if I have not acess to php.ini?
> >
> > I know in .htacess but al I try ends in an Internal Server Error
> > I use php4.0.4pl1
> 
> Please post what you tried.  It might be a difference in the 
> syntax between
> PHP3 and PHP4 if you're using the old style.  The new style is:
> 
> php_flag include_path ".:./lib"

this line make an error too :-(

I tried
php_value include_path ".:./foo"
php_value include_path=".:./foo"
php_value include_path .:./foo
php_value include_path=.:./foo
php_flag include_path .:./foo      # but flag is not right according to the
documentation 

nothing :-(

It seems I must change al my includes to relative pathnames (../../php)

greetings from sunny (today :-) Germany
Michael

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to