Re: Setting values of php.ini file at runtime

From: Date: Mon, 25 Nov 2002 11:58:42 +0000
Subject: Re: Setting values of php.ini file at runtime
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-125915@lists.php.net to get a copy of this message
On Monday 25 November 2002 19:37, DL Neil wrote: > Excuse me breaking in...somewhat similar problem: > > Have set up a client recently, preaching security persuaded them into > updating so that could run Register_Globals=Off. Now they want to install a > 'wiki' which requires (to my horror) Register_Globals=On. > > Short of two Apache/PHP servers, what is a logical way to structure things > so that the 'wiki' runs 'insecure' but other/'my' PHP work runs > more > securely? Set it on a per directory basis. If using Apache something like: <Directory "/home/www.example.com/wiki_directory"> php_value register_globals 1 </Directory> -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* There is nothing more silly than a silly laugh. -- Gaius Valerius Catullus */

« previous php.general (#125915) next »