Re: Location in php's source for ini-values
| From: | Steph Fox | Date: | Sun, 03 Feb 2008 20:23:03 +0000 |
| Subject: | Re: Location in php's source for ini-values | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35146@lists.php.net to get a copy of this message | ||
Hi, person with no name...
============
I'd like to know where PHP finally sets the php.ini-values in it's sourcecode, e.g. max_execution_time, open_basedir, etc...
What I need is to set several static values which must not be editable using php.ini, httpd.conf, .htaccess, ini_set, or whatever - so I need to set final values for several php.ini-settings by modifying the php sourcecode...
============
It doesn't quite work like that. There is no ZEND_INI_NONE, since if the values were intended to be static they wouldn't be part of the INI system in the first place. Your approach would therefore mean a major change in pretty much every part of PHP in a local patch... which you'd then need to maintain.
What are you actually trying to do that overrides system administration, anyway?
- Steph