Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend_ini.c

From: Date: Fri, 24 Aug 2007 10:14:14 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend_ini.c
References: 1 2 3 4 5  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5973@lists.php.net to get a copy of this message
On Thu, 2007-08-23 at 12:43 -0700, Stanislav Malyshev wrote: > > Maybe we could fix it on SAPI level - check for permissions when joining > > configs in Apache SAPI, so if old value had "admin" flag new one won't > > override it. > > Not sure how to work with ini_set though... >From what I understood this there really isn't any thread issue here since I can reproduce it with FastCGI too (with my upcoming ini stuff patch for allowing htaccess style stuff in FastCGI). It's the @ operator and usage of zend_alter_ini_entry() in the zend_vm_def.h which is the root cause. Why isn't the EG(error_reporting) simply set to 0 in the ZEND_BEGIN_SILENCE and restored back in ZEND_END_SILENCE to what EG(orig_error_reporting) has? I don't understand why the engine has to touch ini settings in that case. --Jani

« previous php.zend-engine.cvs (#5973) next »