diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2013-January/021450.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2013-January/021450.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-January/021450.html | 159 |
1 files changed, 159 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-January/021450.html b/zarb-ml/mageia-dev/2013-January/021450.html new file mode 100644 index 000000000..645103600 --- /dev/null +++ b/zarb-ml/mageia-dev/2013-January/021450.html @@ -0,0 +1,159 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] PHP treadsafe + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20PHP%20treadsafe&In-Reply-To=%3C50F023E2.2090506%40colin.guthr.ie%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="021449.html"> + <LINK REL="Next" HREF="021470.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] PHP treadsafe</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20PHP%20treadsafe&In-Reply-To=%3C50F023E2.2090506%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] PHP treadsafe">mageia at colin.guthr.ie + </A><BR> + <I>Fri Jan 11 15:38:26 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="021449.html">[Mageia-dev] PHP treadsafe +</A></li> + <LI>Next message: <A HREF="021470.html">[Mageia-dev] PHP treadsafe +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#21450">[ date ]</a> + <a href="thread.html#21450">[ thread ]</a> + <a href="subject.html#21450">[ subject ]</a> + <a href="author.html#21450">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Thomas Spuhler at 11/01/13 14:25 did gyre and gimble: +><i> On Friday, January 11, 2013 03:21:52 AM Colin Guthrie wrote: +</I>>><i> 'Twas brillig, and Thomas Spuhler at 08/01/13 14:25 did gyre and gimble: +</I>>>><i> On Tuesday, January 08, 2013 04:36:26 AM Oliver Burger wrote: +</I>>>>><i> Am 08.01.2013 11:04, schrieb Frederik Himpe: +</I>>>>>><i> On Sat, 05 Jan 2013 10:20:35 -0700, Thomas Spuhler wrote: +</I>>>>>>><i> If nobody objects I am going to rebuild php treadsafe +</I>>>>>>><i> (--enable-maintainer-zts) +</I>>>>>>><i> it is needed for running apache with mpm-module-worker instead of +</I>>>>>>><i> prefork and php apache module worker is needed by 389-ds. It is now +</I>>>>>>><i> declared as stable. +</I>>>>>>><i> +</I>>>>>>><i> But apache mpm-prefork starts with php compiled treadsafe apache +</I>>>>>>><i> mpm-worker doesn't start with php compiled none-treadsafe +</I>>>>>><i> +</I>>>>>><i> You can run PHP with apache2-mpm-worker with mod_fcgid and php5-cgi or +</I>>>>>><i> php5-fpm. +</I>>>>>><i> +</I>>>>>><i> This is what Debian Wheezy's README file for php says: +</I>>>>>><i> +</I>>>>>><i> Using PHP 5 with threaded webservers (e.g. apache2-mpm-worker) +</I>>>>>><i> ---------------------------------------------------------------------- +</I>>>>>><i> +</I>>>>>><i> After much back-and-forth with upstream (and even building our +</I>>>>>><i> packages thread-safe for a while), we're currently admitting defeat +</I>>>>>><i> on that front, and are NOT building any thread-safe versions of PHP +</I>>>>>><i> 5 for any webservers. Our recommendation is that, if you need to use +</I>>>>>><i> a threaded webserver, you should use php5-fpm and interface to your +</I>>>>>><i> webserver with FastCGI. +</I>>>>>><i> +</I>>>>>><i> I think Mageia is hurting itself by enabling too experimental features. +</I>>>>>><i> Another example is the uas kernel module, of which I saw a complaint +</I>>>>>><i> recently in this mailing list. This module is known to be buggy, and +</I>>>>>><i> disabled in Debian. +</I>>>>><i> +</I>>>>><i> +1 +</I>>>>><i> +</I>>>>><i> That's what Oden told me yesterday on IRC. +</I>>>>><i> +</I>>>>><i> So as current php maintainer I vote against enabling this. +</I>>>>><i> +</I>>>>><i> Oliver +</I>>>><i> +</I>>>><i> I guess I then will revert it to NTS. +</I>>>><i> Fedora builds it with both options. But it may be too late now going that +</I>>>><i> way. +</I>>><i> +</I>>><i> FWIW, over the last few days I've had to rebuild several PHP modules to +</I>>><i> get my system working properly. +</I>>><i> +</I>>><i> A couple days ago I had to rebuild both php-memcached and php-redis. +</I>>><i> +</I>>><i> Today I've had to rebuild php-memcached, php-redis and php-timezonedb. +</I>>><i> +</I>>><i> I'm not against enabling features etc. to try them out but when doing so +</I>>><i> care really should be taken to rebuild all affected PHP modules not just +</I>>><i> the core ones. +</I>>><i> +</I>>><i> Thanks. +</I>>><i> +</I>>><i> Col +</I> +><i> Why did you have to rebuild them as a result of the new features? TS has been reverted to NTS so, +</I>><i> there are no new features. +</I> +For php-timezonedb it specifically mentioned that it was built against +the TS version where as the core PHP was NTS (TS vs NTS in the build ids +it was comparing). + + +For the other two, they complained about missing symbols when the TS +version appeared. I forget the symbol itself but it was mentioned +global_config. + +They had the same error today (presumably after reverting) so had to +rebuild again. + +I guess enabling TS vs. NTS changes things more subtly than it might appear. + +Easy enough to reproduce - just install them and run "php -v" on the +command line to see the list of errors. + +Col + + + + + +-- + +Colin Guthrie +colin(at)mageia.org +<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> + +Day Job: + Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A> +Open Source: + Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A> + PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A> + Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A> +</PRE> + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="021449.html">[Mageia-dev] PHP treadsafe +</A></li> + <LI>Next message: <A HREF="021470.html">[Mageia-dev] PHP treadsafe +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#21450">[ date ]</a> + <a href="thread.html#21450">[ thread ]</a> + <a href="subject.html#21450">[ subject ]</a> + <a href="author.html#21450">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |