Adding pcntl support to php5
It has been suggested to me that pcntl support should be added to the php5 port. I was asked to add a +pcntl variant for this, but I'm inclined to just add pcntl support always, without needing a variant. pcntl support does not require any additional libraries. Are there any objections to enabling pcntl always? Any reason I shouldn't do that?
I would add a variant +disable_pcntl to allow those who do not want it to disable it. On 26 Jan 2007, at 18:22, Ryan Schmidt wrote:
It has been suggested to me that pcntl support should be added to the php5 port. I was asked to add a +pcntl variant for this, but I'm inclined to just add pcntl support always, without needing a variant. pcntl support does not require any additional libraries. Are there any objections to enabling pcntl always? Any reason I shouldn't do that?
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Randall Wood rhwood@mac.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I second this motion. - -Altoine Randall Wood wrote:
I would add a variant +disable_pcntl to allow those who do not want it to disable it.
On 26 Jan 2007, at 18:22, Ryan Schmidt wrote:
It has been suggested to me that pcntl support should be added to the php5 port. I was asked to add a +pcntl variant for this, but I'm inclined to just add pcntl support always, without needing a variant. pcntl support does not require any additional libraries. Are there any objections to enabling pcntl always? Any reason I shouldn't do that?
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Randall Wood rhwood@mac.com
"The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFu7DRS0foIafBdlkRAo2NAJsGd4Vg/xYknem6SiaogBU+3/7RbQCeKsgI qylRPgT6Nvn9/9ElQD/nf+Y= =C9dS -----END PGP SIGNATURE-----
Hi Ryan, On Jan 26, 2007, at 3:22 PM, Ryan Schmidt wrote:
It has been suggested to me that pcntl support should be added to the php5 port. I was asked to add a +pcntl variant for this, but I'm inclined to just add pcntl support always, without needing a variant. pcntl support does not require any additional libraries. Are there any objections to enabling pcntl always? Any reason I shouldn't do that?
Given the stern warning on the php page about pcntl, and since php is almost always used in a webserver environment, I'd think it would be best to make this an optional variant, which must be explicitly enabled (+pcntl), rather than one which must be disabled as some others have suggested (+disable_pcntl). http://us3.php.net/pcntl: Process Control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. Process Control should not be enabled within a webserver environment and unexpected results may happen if any Process Control functions are used within a webserver environment.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
On Jan 27, 2007, at 14:13, James Berry wrote:
On Jan 26, 2007, at 3:22 PM, Ryan Schmidt wrote:
It has been suggested to me that pcntl support should be added to the php5 port. I was asked to add a +pcntl variant for this, but I'm inclined to just add pcntl support always, without needing a variant. pcntl support does not require any additional libraries. Are there any objections to enabling pcntl always? Any reason I shouldn't do that?
Given the stern warning on the php page about pcntl, and since php is almost always used in a webserver environment, I'd think it would be best to make this an optional variant, which must be explicitly enabled (+pcntl), rather than one which must be disabled as some others have suggested (+disable_pcntl).
Process Control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. Process Control should not be enabled within a webserver environment and unexpected results may happen if any Process Control functions are used within a webserver environment.
Thanks, James; I had overlooked that warning. Added +pcntl variant in r21538.
participants (4)
-
Altoine Barker
-
James Berry
-
Randall Wood
-
Ryan Schmidt