include_path and virtual host on Win2k - still looking

From: Date: Wed, 15 Nov 2000 06:51:07 +0000
Subject: include_path and virtual host on Win2k - still looking
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25378@lists.php.net to get a copy of this message
On Mon, 13 Nov 2000 11:20:50 -0800, Mark Maggelet (maggelet@mminternet.com) wrote: >can someone tell me why this doesn't work? > ><? >putenv ("include_path=".$HTTP_ENV_VARS["DOCUMENT_ROOT"]); >echo getenv ("include_path"); >include("loginbox.inc"); >exit; >?> > >the output I get is: > >d:/www/mapamundo >Warning: Failed opening 'loginbox.inc' for inclusion >(include_path='') in ../common.inc on line 4 > >It looks like include_path is getting set, and when I stick >phpinfo() >in there it shows d:/www/mapamundo for include_path, but it never >looks there. I'm using php4.03pl1 on win2k as CGI. Ok, basically what I'm looking for is a creative way to set include_path on a per virtual-host basis on Apacke/Win2k. Since php_value doesn't work, there's not a lot of options here. I don't see how people run a big server on Win2k without being able to do this. P.S. what happened to the days when the Php developers would answer questions on this list? thanks, - Mark

« previous php.general (#25378) next »