summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-January/021450.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2013-January/021450.html')
-rw-r--r--zarb-ml/mageia-dev/2013-January/021450.html159
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:
+&gt;<i> On Friday, January 11, 2013 03:21:52 AM Colin Guthrie wrote:
+</I>&gt;&gt;<i> 'Twas brillig, and Thomas Spuhler at 08/01/13 14:25 did gyre and gimble:
+</I>&gt;&gt;&gt;<i> On Tuesday, January 08, 2013 04:36:26 AM Oliver Burger wrote:
+</I>&gt;&gt;&gt;&gt;<i> Am 08.01.2013 11:04, schrieb Frederik Himpe:
+</I>&gt;&gt;&gt;&gt;&gt;<i> On Sat, 05 Jan 2013 10:20:35 -0700, Thomas Spuhler wrote:
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> If nobody objects I am going to rebuild php treadsafe
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> (--enable-maintainer-zts)
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> it is needed for running apache with mpm-module-worker instead of
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> prefork and php apache module worker is needed by 389-ds. It is now
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> declared as stable.
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> But apache mpm-prefork starts with php compiled treadsafe apache
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> mpm-worker doesn't start with php compiled none-treadsafe
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> You can run PHP with apache2-mpm-worker with mod_fcgid and php5-cgi or
+</I>&gt;&gt;&gt;&gt;&gt;<i> php5-fpm.
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> This is what Debian Wheezy's README file for php says:
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> Using PHP 5 with threaded webservers (e.g. apache2-mpm-worker)
+</I>&gt;&gt;&gt;&gt;&gt;<i> ----------------------------------------------------------------------
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> After much back-and-forth with upstream (and even building our
+</I>&gt;&gt;&gt;&gt;&gt;<i> packages thread-safe for a while), we're currently admitting defeat
+</I>&gt;&gt;&gt;&gt;&gt;<i> on that front, and are NOT building any thread-safe versions of PHP
+</I>&gt;&gt;&gt;&gt;&gt;<i> 5 for any webservers. Our recommendation is that, if you need to use
+</I>&gt;&gt;&gt;&gt;&gt;<i> a threaded webserver, you should use php5-fpm and interface to your
+</I>&gt;&gt;&gt;&gt;&gt;<i> webserver with FastCGI.
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> I think Mageia is hurting itself by enabling too experimental features.
+</I>&gt;&gt;&gt;&gt;&gt;<i> Another example is the uas kernel module, of which I saw a complaint
+</I>&gt;&gt;&gt;&gt;&gt;<i> recently in this mailing list. This module is known to be buggy, and
+</I>&gt;&gt;&gt;&gt;&gt;<i> disabled in Debian.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> +1
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> That's what Oden told me yesterday on IRC.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> So as current php maintainer I vote against enabling this.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Oliver
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> I guess I then will revert it to NTS.
+</I>&gt;&gt;&gt;<i> Fedora builds it with both options. But it may be too late now going that
+</I>&gt;&gt;&gt;<i> way.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> FWIW, over the last few days I've had to rebuild several PHP modules to
+</I>&gt;&gt;<i> get my system working properly.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> A couple days ago I had to rebuild both php-memcached and php-redis.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Today I've had to rebuild php-memcached, php-redis and php-timezonedb.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I'm not against enabling features etc. to try them out but when doing so
+</I>&gt;&gt;<i> care really should be taken to rebuild all affected PHP modules not just
+</I>&gt;&gt;<i> the core ones.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Thanks.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Col
+</I>
+&gt;<i> Why did you have to rebuild them as a result of the new features? TS has been reverted to NTS so,
+</I>&gt;<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 &quot;php -v&quot; 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>