ID: 50315 Updated by: j...@php.net Reported By: jd at cpanel dot net -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Centos 5 AMD64 PHP Version: 5.2.12RC3
Previous Comments: ------------------------------------------------------------------------ [2009-11-27 23:41:13] s...@php.net Automatic comment from SVN on behalf of rasmus Revision: http://svn.php.net/viewvc/?view=revision&revision=291364 Log: Fix bug #50315 ------------------------------------------------------------------------ [2009-11-27 23:11:33] jd at cpanel dot net Description: ------------ The bug fix in revision 291318 exposes additional problems with ext/standard/config.m4 When php_cv_can_support_proc_open is loaded from config.cache the function tests that come after are not executed. As a result, the existence of fork() is not tested and HAVE_FORK is not defined. ext/standard/proc_open.c has a chain of preprocessor if blocks that expects one of PHP_WIN32, NETWARE or HAVE_FORK to be set whenever PHP_CAN_SUPPORT_PROC_OPEN is set. Reproduce code: --------------- Remove config.cache then run configure twice without --enable-pcntl (which also tests for fork()). Diff the two generated php_config.h files. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50315&edit=1