Re: Location in php's source for ini-values

From: Date: Tue, 05 Feb 2008 11:54:50 +0000
Subject: Re: Location in php's source for ini-values
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-35182@lists.php.net to get a copy of this message
ehl lhe schreef:
I've run into the same thing in the past, ended up moving to virtual machines in order to circumvent ... BUT ... I found something which can apparently work in this particular case. have a google for 'mod_macro' ... from what I read it will do what you want and it'll save you having to hack the php source.
well, I know about mod_macro - and also have it in use, but it doesn't really help, since it does not solve the problems I've got here.
funny, a chap in the forum on the following URL states that he is using mod_macro to do exactly what you want (afaict) namely set open_basedir on a per request basis in a dynamic vhost: http://www.apachelounge.com/forum/viewtopic.php?p=7863
I require mod_vhost because I've got several
if the above url is not telling the truth then maybe an alternative is mod_vhs: http://www.oav.net/projects/mod_vhs/ I don't know it personally but a quick scouring of the page reveals some php specific stuff for setting per request ini settings, mod_vhs itself being, it seems, an alternative to mod_vhost
thousand vhosts in my config, which slow down apache everytime it reloads it's configuration, which is required about 3 times every hour since the configuration changes in this period. So mod_vhost can solve that problem, because in my case no apache-reload is required then. This reload makes the server unreachable for about 1-2 minutes, that's just way too much downtime - 3 times a hour.. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


« previous php.internals (#35182) next »