summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-January/021447.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2013-January/021447.html')
-rw-r--r--zarb-ml/mageia-dev/2013-January/021447.html132
1 files changed, 132 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-January/021447.html b/zarb-ml/mageia-dev/2013-January/021447.html
new file mode 100644
index 000000000..b2f22dbc5
--- /dev/null
+++ b/zarb-ml/mageia-dev/2013-January/021447.html
@@ -0,0 +1,132 @@
+<!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=%3C50EFE7C0.60209%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="021312.html">
+ <LINK REL="Next" HREF="021449.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=%3C50EFE7C0.60209%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] PHP treadsafe">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Fri Jan 11 11:21:52 CET 2013</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="021312.html">[Mageia-dev] PHP treadsafe
+</A></li>
+ <LI>Next message: <A HREF="021449.html">[Mageia-dev] PHP treadsafe
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#21447">[ date ]</a>
+ <a href="thread.html#21447">[ thread ]</a>
+ <a href="subject.html#21447">[ subject ]</a>
+ <a href="author.html#21447">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Thomas Spuhler at 08/01/13 14:25 did gyre and gimble:
+&gt;<i> On Tuesday, January 08, 2013 04:36:26 AM Oliver Burger wrote:
+</I>&gt;&gt;<i> Am 08.01.2013 11:04, schrieb Frederik Himpe:
+</I>&gt;&gt;&gt;<i> On Sat, 05 Jan 2013 10:20:35 -0700, Thomas Spuhler wrote:
+</I>&gt;&gt;&gt;&gt;<i> If nobody objects I am going to rebuild php treadsafe
+</I>&gt;&gt;&gt;&gt;<i> (--enable-maintainer-zts)
+</I>&gt;&gt;&gt;&gt;<i> it is needed for running apache with mpm-module-worker instead of
+</I>&gt;&gt;&gt;&gt;<i> prefork and php apache module worker is needed by 389-ds. It is now
+</I>&gt;&gt;&gt;&gt;<i> declared as stable.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> But apache mpm-prefork starts with php compiled treadsafe apache
+</I>&gt;&gt;&gt;&gt;<i> mpm-worker doesn't start with php compiled none-treadsafe
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> You can run PHP with apache2-mpm-worker with mod_fcgid and php5-cgi or
+</I>&gt;&gt;&gt;<i> php5-fpm.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> This is what Debian Wheezy's README file for php says:
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Using PHP 5 with threaded webservers (e.g. apache2-mpm-worker)
+</I>&gt;&gt;&gt;<i> ----------------------------------------------------------------------
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> After much back-and-forth with upstream (and even building our
+</I>&gt;&gt;&gt;<i> packages thread-safe for a while), we're currently admitting defeat
+</I>&gt;&gt;&gt;<i> on that front, and are NOT building any thread-safe versions of PHP
+</I>&gt;&gt;&gt;<i> 5 for any webservers. Our recommendation is that, if you need to use
+</I>&gt;&gt;&gt;<i> a threaded webserver, you should use php5-fpm and interface to your
+</I>&gt;&gt;&gt;<i> webserver with FastCGI.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> I think Mageia is hurting itself by enabling too experimental features.
+</I>&gt;&gt;&gt;<i> Another example is the uas kernel module, of which I saw a complaint
+</I>&gt;&gt;&gt;<i> recently in this mailing list. This module is known to be buggy, and
+</I>&gt;&gt;&gt;<i> disabled in Debian.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> +1
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> That's what Oden told me yesterday on IRC.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> So as current php maintainer I vote against enabling this.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Oliver
+</I>&gt;<i> I guess I then will revert it to NTS.
+</I>&gt;<i> Fedora builds it with both options. But it may be too late now going that way.
+</I>
+FWIW, over the last few days I've had to rebuild several PHP modules to
+get my system working properly.
+
+A couple days ago I had to rebuild both php-memcached and php-redis.
+
+Today I've had to rebuild php-memcached, php-redis and php-timezonedb.
+
+I'm not against enabling features etc. to try them out but when doing so
+care really should be taken to rebuild all affected PHP modules not just
+the core ones.
+
+Thanks.
+
+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="021312.html">[Mageia-dev] PHP treadsafe
+</A></li>
+ <LI>Next message: <A HREF="021449.html">[Mageia-dev] PHP treadsafe
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#21447">[ date ]</a>
+ <a href="thread.html#21447">[ thread ]</a>
+ <a href="subject.html#21447">[ subject ]</a>
+ <a href="author.html#21447">[ 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>