By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 997 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Configuring the include_path

P: n/a
Hey all -

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.

Thanks.

Rob
Dec 12 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Greetings, Rob Wilkerson.
In reply to Your message dated Wednesday, December 12, 2007, 20:00:43,
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.
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.
--
Sincerely Yours, AnrDaemon <an*******@freemail.ru>

Dec 12 '07 #2

P: n/a
Greetings, AnrDaemon.
In reply to Your message dated Wednesday, December 12, 2007, 23:08:23,
BTW, use php_admin_include_path to protect Your system.
php_admin_value include_path "..."
Of course.

--
Sincerely Yours, AnrDaemon <an*******@freemail.ru>

Dec 12 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.