473,387 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Configuring the include_path

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
2 1713
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ramprasad A Padmanabhan | last post by:
I know it is a dummies question, But I am not able to find it on the php manual. Can anyone tell me How to set the include_path in php thanks Ram
3
by: mirko | last post by:
Hello, I have a problem with my include_path and I don't know why... Can anybody see the mistake? my configuration: PHP Version 4.3.11 System: Windows NT 5.0 build 2195
24
by: Paul | last post by:
I am taking over an existing app and having trouble understanding their references. They have encapsulated Pear packages in the directory structure like: /site /site/html/Pear.php...
10
by: Schraalhans Keukenmeester | last post by:
I suspect the following problem IS hosting provider specific, but they haven't been able to help me out so far. Perhaps I am doing something wrong and someone is able to spot the issue... Here...
0
by: Bastien Continsouzas | last post by:
I am trying to set the include path for SimpleTest under Eclipse I have the following config : Eclipse : 3.2.0 PHPEclipse 1.1.8 SimpleTest plugin : 0.2.1 I ran a test I found on the...
9
by: Charles Crume | last post by:
Hello Everyone; My site was hacked the other day -- someone was able to rename my index.shtml file and put their own index.html file on my server. Not sure how it was done, but looking through...
1
by: hoobert | last post by:
Hi all -- I have an include_path question. Just setting up a new server, and I'm running into a really stupid issue. I have the following line in php.ini: include_path =...
4
by: Gordon | last post by:
Is it possible in, say, a .htaccess file, to append additional paths to the php include_path without knowing what the value of include_path is beforehand? I want to add an absolute path to a...
0
by: mukeshrasm | last post by:
Hi! I want to use phpmailer class to send mail using smtp.I have downloaded the phpmailer and then i followed it's README file where it is mentioned that "Copy class.phpmailer.php into your php.ini...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.