Re: Re: ini_get

From: Date: Mon, 07 Jun 2004 17:25:31 +0000
Subject: Re: Re: ini_get
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-187818@lists.php.net to get a copy of this message
Disregard my incompetence... Chapter 4 does mention it on subsequent pages. Ben Ramsey wrote:
That's pretty interesting there, and I'll definitely have to try it out. However, Chapter 4 mentions nothing about being able to set runtime values in an .htaccess file... unless I missed something: http://www.php.net/manual/en/configuration.php Richard Davey wrote:
Hello Ben, Monday, June 7, 2004, 6:15:11 PM, you wrote: JN>> ini_get() will return the current value for the ini_setting... JN>> doesn't matter if it's from the php.ini, ini_set() or a JN>> .htaccess file. BR> All right. Clue me in here. How can an .htaccess file set/modify the BR> values of php.ini? I wasn't aware that you could do that. See Chapter 4 of the PHP Manual - specifically Runtime Configuration for all the details, but basically you do: php_value name value php_flag name on|off php_admin_value name value php_admin_flag name on|off In your htaccess file. Note this only works if PHP is an Apache module. Best regards, Richard Davey
-- Regards, Ben Ramsey http://benramsey.com --------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. ---------------------------------------------------

« previous php.general (#187818) next »