Re: Setting PHP module values in C
| From: | Uwe Schindler | Date: | Thu, 14 Aug 2003 07:09:49 +0000 |
| Subject: | Re: Setting PHP module values in C | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3898@lists.php.net to get a copy of this message | ||
Am Donnerstag, 14.08.03 um 07:14 Uhr schrieb Mark Morley:
I'm writing an Apache module and I'd like to be able to dynamically change some of PHP's settings from within this module. Mainly I need to be able to change the current open_basedir value, although there are others as well.zend_alter_ini_entry("open_basedir", sizeof("open_basedir"), newvalue, strlen(newvalue), PHP_INI_USER, PHP_INI_STAGE_RUNTIME)
Is there a function call or code sequence that will let me change values like this? Mark