try these:

php_value include_path       "/my/phpinc/path"

but why instead not to create a .htaccess file, or if you don't want it to
be modified by user to make a one single auto_prepend with:

$file = "$DOCUMENT_ROOT/my/phpinc/path";
if(file_exists($file))
   include_once($file);

this wouyld work for you better since there would be no chances that the
file does not exist (or was deleted by user) and that it won't be included
more then once


Sincerely,

 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com




-----Original Message-----
From: Brian White [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 2:01 PM
To: PHP
Subject: [PHP] PHP4 directives in httpd.conf not working


I have php4 running under Apache. Under that apache I have several
<VirtualHost>s. I want to set to some of the PHP.INI values under
one of those hosts. So far I have tried the following values in
my httpd.conf file:

    1) include_path       "/my/phpinc/path"
    2) php_include_path   "/my/phpinc/path"
    3) php3_include_path  "/my/phpinc/path"
    4) php4_include_path  "/my/phpinc/path"

None of them have worked - I can't even restart Apache with them in place.
"/my/phpinc/path" definitely exists.

What am I doing wrong?

Regs

Brian White
-------------------------
Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
Phone: +612-93197901
Web:   http://www.steptwo.com.au/
Email: [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]



-- 
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