Forum Moderators: coopster

Message Too Old, No Replies

PHP.ini - Include_path

Is it possible to have multiple include path

         

tomda

1:22 pm on Jul 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have multiple websites in my www directory (root directory) and each website has its own include folder.

When I shift from website A to website B, I have to modify my include path (from A to B) in php.ini

Is there a way to have multiple path in php.ini or may be a command in .htaccess so that each website have its independant include_path.

Thanks

coopster

2:47 pm on Jul 6, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



The include_path [php.net] configuration directive is of constant value
PHP_INI_ALL
, which means the entry can be set anywhere, including a per-directory override file such as
.htaccess
. You can also set it in your script using ini_set() [php.net] or set_include_path() [php.net].