[php-maint] Bug#627941: php5: Please enable process control support (--enable-pcntl) for cgi/cli
Clint Byrum
clint at ubuntu.com
Wed May 25 17:45:58 UTC 2011
Package: php5
Version: 5.3.5-1
Severity: wishlist
Tags: patch
User: ubuntu-devel at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp7fR3pp
Type: text/x-diff
Size: 467 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20110525/2a4d944b/attachment.diff>
More information about the pkg-php-maint
mailing list