Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Configuring the include_path
- Rob Wilkerson
December 12, 2007, 5:00 pm
rate this thread
I'm trying to create a developer-friendly environment on my production
server. By that, I mean an environment where developers don't need to
worry about certain things. Among those is the include path. I have
a "core" include_path set in php.ini, but most projects will require
an include path of their own _in addition to_ the global
include_path. Ideally, I'd like to script this directly into the
virtual host configuration using the php_include_path directive, but
it looks like that will overwrite the global setting.
Is there any way to _append to_ the global include_path via the
php_include_path directive available in an Apache virtual host block?
I've been assuming (for some reason) that there *must* be, but I can't
find anything. I thought I'd try here before giving up.
Re: Configuring the include_path
In reply to Your message dated Wednesday, December 12, 2007, 20:00:43,
No, You can only override settings. But as far as You can get the php.ini value
from the phpinfo output, You can check the results of changes made in Apache.
BTW, use php_admin_include_path to protect Your system.