Vincent DUPONT wrote:
We need to install one windows 203 server with various versions of the same application. The versions will be held in disticnt web sites on this server. In order to point to the different application versions, I need to point the include_path to the right php scripts (in distinct folder by version)
I believed it was possible to set up one php.ini file for every web site, even on the same machine. However, I can't find any informlation about this.


PHP runs the default web site with php.ini in c:\windows
The version1 website also runs the php.ini included in c:\windows
I added a php.ini with a new include_path in the document root of version1 site, but 
this had no effect : the include_path remains the same...

We run PHP as a ISAPI module.

If you know one solution, please answer.

For this purpose, you can use set_include_path() at the start of your files. I have it on a common included file, and then I include this file in all scripts, so the include_path is always set in runtime.


Hope this helps,
Jordi.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to