diff options
Diffstat (limited to 'sapi/apache_hooks/mod_php5.c')
| -rw-r--r-- | sapi/apache_hooks/mod_php5.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/sapi/apache_hooks/mod_php5.c b/sapi/apache_hooks/mod_php5.c index 8551ad0dd8..b15f360475 100644 --- a/sapi/apache_hooks/mod_php5.c +++ b/sapi/apache_hooks/mod_php5.c @@ -1175,6 +1175,9 @@ static int php_xbithack_handler(request_rec * r)  	}  	if(!AP(xbithack)) {  		r->allowed |= (1 << METHODS) - 1; +		zend_try { +			zend_ini_deactivate(TSRMLS_C); +		} zend_end_try();  		return DECLINED;  	}  	return send_parsed_php(r); | 
