Package: php5 Version: 5.3.5-1 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu oneiric ubuntu-patch
This is forwarded from Ubuntu: https://launchpad.net/bugs/658346 In Ubuntu, the attached patch was applied to achieve the following: Quoting from the original bug report: > Please configure PHP with Process Control support [1], which can be > very useful. > > While it makes sense for CLI already, it is also useful for for CGI. See > http://www.dotdeb.org/2010/03/08/php-5-3-2-is-available-too/#comment-2274 > for some reasoning (where I was arguing to have it in the dotdeb > repository, which has it enabled for CLI only). > > 1: http://de.php.net/manual/en/pcntl.installation.php * debian/rules: --enable-pcntl for cgi as well. (LP: #658346) The normal concerns one might have over pcntl are mitigated as CGI runs in its own process space. So the reasons for not turning this on in libapache2-mod-php5 are not really necessary for CGI, especially since CGI has dl() available. Thanks for considering the patch. -- System Information: Debian Release: squeeze/sid APT prefers natty-updates APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u php5-5.3.5/debian/rules php5-5.3.5/debian/rules --- php5-5.3.5/debian/rules +++ php5-5.3.5/debian/rules @@ -334,7 +334,7 @@ --without-mm \ --disable-pdo \ --without-mysql --without-sybase-ct --without-mssql \ - --without-sqlite --without-sqlite3 + --without-sqlite --without-sqlite3 --enable-pcntl cd cgi-build && \ cp ../Zend/zend_ini_scanner.c ../Zend/zend_language_scanner.c \ ../Zend/zend_ini_parser.h ../Zend/zend_language_parser.h \