int force_stderr = 0;
int php_information = 0;
int php_allow_to_run_as_root = 0;
+ int ret;
+#if ZEND_RC_DEBUG
+ zend_bool old_rc_debug;
+#endif
#ifdef HAVE_SIGNAL_H
#if defined(SIGPIPE) && defined(SIG_IGN)
}
}
- if (0 > fpm_init(argc, argv, fpm_config ? fpm_config : CGIG(fpm_config), fpm_prefix, fpm_pid, test_conf, php_allow_to_run_as_root, force_daemon, force_stderr)) {
+#if ZEND_RC_DEBUG
+ old_rc_debug = zend_rc_debug;
+ zend_rc_debug = 0;
+#endif
+
+ ret = fpm_init(argc, argv, fpm_config ? fpm_config : CGIG(fpm_config), fpm_prefix, fpm_pid, test_conf, php_allow_to_run_as_root, force_daemon, force_stderr);
+
+#if ZEND_RC_DEBUG
+ zend_rc_debug = old_rc_debug;
+#endif
+
+ if (ret < 0) {
if (fpm_globals.send_config_pipe[1]) {
int writeval = 0;