when using this option php will setup it's own SIGCHLD handler.
when using oracle-libraries >= 8.1 on linux you need this option
if you are connecting using the BEQ interface - elsewise you will
see <defunc> processes whenever a php-script disconnects from oracle.
/* Set to the path to the dir containing safe mode executables */
#define PHP_SAFE_MODE_EXEC_DIR /usr/local/php/bin
+/* Define if PHP to setup it's own SIGCHLD handler */
+#define PHP_SIGCHILD 0
+
/* Define if you want POST/GET/Cookie track variables by default */
#define PHP_TRACK_VARS 0
AC_MSG_RESULT(/usr/local/php/bin)
])
+PHP_ARG_ENABLE(sigchild,whether to enable PHP's own SIGCHLD handler,
+[ --enable-sigchild Enable PHP's own SIGCHLD handler.],no)
+
+if test "$PHP_SIGCHILD" = "yes"; then
+ AC_DEFINE(PHP_SIGCHILD, 1)
+else
+ AC_DEFINE(PHP_SIGCHILD, 0)
+fi
+
PHP_ARG_ENABLE(track-vars,whether to enable track_vars variables by default,
[ --enable-track-vars Enable GET/POST/Cookie track variables by default.],yes)
/* tested only with MS Visual C++ V5 */
+/* Define if PHP to setup it's own SIGCHLD handler (not needed on Win32) */
+#define PHP_SIGCHILD 0
+
/* if you have resolv.lib and lib44bsd95.lib you can compile the extra
dns functions located in dns.c. Set this to 1. add resolv.lib and
lib33bsd95.lib to the project settings, and add the path to the
}
+#if PHP_SIGCHILD
+static int sigchld_handler(int apar)
+{
+ int status;
+ wait(&status);
+ signal(SIGCHLD,sigchld_handler);
+}
+#endif
+
+
int php_request_startup(CLS_D ELS_DC PLS_DC SLS_DC)
{
+#if PHP_SIGCHILD
+ signal(SIGCHLD,sigchld_handler);
+#endif
+
global_lock();
php_output_startup();