summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-January/021470.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2013-January/021470.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/2013-January/021470.html')
-rw-r--r--zarb-ml/mageia-dev/2013-January/021470.html164
1 files changed, 164 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-January/021470.html b/zarb-ml/mageia-dev/2013-January/021470.html
new file mode 100644
index 000000000..3fe251187
--- /dev/null
+++ b/zarb-ml/mageia-dev/2013-January/021470.html
@@ -0,0 +1,164 @@
+<!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=%3C201301112138.09827.thomas%40btspuhler.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="021450.html">
+ <LINK REL="Next" HREF="021473.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] PHP treadsafe</H1>
+ <B>Thomas Spuhler</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20PHP%20treadsafe&In-Reply-To=%3C201301112138.09827.thomas%40btspuhler.com%3E"
+ TITLE="[Mageia-dev] PHP treadsafe">thomas at btspuhler.com
+ </A><BR>
+ <I>Sat Jan 12 05:38:04 CET 2013</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="021450.html">[Mageia-dev] PHP treadsafe
+</A></li>
+ <LI>Next message: <A HREF="021473.html">[Mageia-dev] PHP treadsafe
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#21470">[ date ]</a>
+ <a href="thread.html#21470">[ thread ]</a>
+ <a href="subject.html#21470">[ subject ]</a>
+ <a href="author.html#21470">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Friday, January 11, 2013 07:38:26 AM Colin Guthrie wrote:
+&gt;<i> 'Twas brillig, and Thomas Spuhler at 11/01/13 14:25 did gyre and gimble:
+</I>&gt;<i> &gt; On Friday, January 11, 2013 03:21:52 AM Colin Guthrie wrote:
+</I>&gt;<i> &gt;&gt; 'Twas brillig, and Thomas Spuhler at 08/01/13 14:25 did gyre and gimble:
+</I>&gt;<i> &gt;&gt;&gt; On Tuesday, January 08, 2013 04:36:26 AM Oliver Burger wrote:
+</I>&gt;<i> &gt;&gt;&gt;&gt; Am 08.01.2013 11:04, schrieb Frederik Himpe:
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; On Sat, 05 Jan 2013 10:20:35 -0700, Thomas Spuhler wrote:
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; If nobody objects I am going to rebuild php treadsafe
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; (--enable-maintainer-zts)
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; it is needed for running apache with mpm-module-worker instead of
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; prefork and php apache module worker is needed by 389-ds. It is now
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; declared as stable.
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; But apache mpm-prefork starts with php compiled treadsafe apache
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; mpm-worker doesn't start with php compiled none-treadsafe
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; You can run PHP with apache2-mpm-worker with mod_fcgid and php5-cgi
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; or php5-fpm.
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; This is what Debian Wheezy's README file for php says:
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; Using PHP 5 with threaded webservers (e.g. apache2-mpm-worker)
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; -
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; After much back-and-forth with upstream (and even building our
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; packages thread-safe for a while), we're currently admitting
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; defeat on that front, and are NOT building any thread-safe
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; versions of PHP 5 for any webservers. Our recommendation is that,
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; if you need to use a threaded webserver, you should use php5-fpm
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; and interface to your webserver with FastCGI.
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; I think Mageia is hurting itself by enabling too experimental
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; features. Another example is the uas kernel module, of which I saw a
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; complaint recently in this mailing list. This module is known to be
+</I>&gt;<i> &gt;&gt;&gt;&gt;&gt; buggy, and disabled in Debian.
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; +1
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; That's what Oden told me yesterday on IRC.
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; So as current php maintainer I vote against enabling this.
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; Oliver
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt; I guess I then will revert it to NTS.
+</I>&gt;<i> &gt;&gt;&gt; Fedora builds it with both options. But it may be too late now going
+</I>&gt;<i> &gt;&gt;&gt; that way.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; FWIW, over the last few days I've had to rebuild several PHP modules to
+</I>&gt;<i> &gt;&gt; get my system working properly.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; A couple days ago I had to rebuild both php-memcached and php-redis.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; Today I've had to rebuild php-memcached, php-redis and php-timezonedb.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; I'm not against enabling features etc. to try them out but when doing so
+</I>&gt;<i> &gt;&gt; care really should be taken to rebuild all affected PHP modules not just
+</I>&gt;<i> &gt;&gt; the core ones.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; Thanks.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; Col
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; Why did you have to rebuild them as a result of the new features? TS has
+</I>&gt;<i> &gt; been reverted to NTS so, there are no new features.
+</I>&gt;<i>
+</I>&gt;<i> For php-timezonedb it specifically mentioned that it was built against
+</I>&gt;<i> the TS version where as the core PHP was NTS (TS vs NTS in the build ids
+</I>&gt;<i> it was comparing).
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> For the other two, they complained about missing symbols when the TS
+</I>&gt;<i> version appeared. I forget the symbol itself but it was mentioned
+</I>&gt;<i> global_config.
+</I>&gt;<i>
+</I>&gt;<i> They had the same error today (presumably after reverting) so had to
+</I>&gt;<i> rebuild again.
+</I>&gt;<i>
+</I>&gt;<i> I guess enabling TS vs. NTS changes things more subtly than it might
+</I>&gt;<i> appear.
+</I>&gt;<i>
+</I>&gt;<i> Easy enough to reproduce - just install them and run &quot;php -v&quot; on the
+</I>&gt;<i> command line to see the list of errors.
+</I>&gt;<i>
+</I>&gt;<i> Col
+</I>
+Thanks Col. I saw one was upgraded after php TS was built, but it's now solved. I guess you rebuilt
+some and umeabot took care of the rest. There are currently no errors using php -v
+
+When I built the TS version, I was aware something may happen and I may had to go back.
+The problem is now, 389-ds needs apache running with worker which in turn needs php TS
+
+Fedora builds both modules, TS and NTS and loads them depending on mpm-worker or not.
+
+--
+Best regards
+Thomas Spuhler
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: not available
+Type: application/pgp-signature
+Size: 198 bytes
+Desc: This is a digitally signed message part.
+URL: &lt;/pipermail/mageia-dev/attachments/20130111/1c45a41d/attachment.asc&gt;
+</PRE>
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="021450.html">[Mageia-dev] PHP treadsafe
+</A></li>
+ <LI>Next message: <A HREF="021473.html">[Mageia-dev] PHP treadsafe
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#21470">[ date ]</a>
+ <a href="thread.html#21470">[ thread ]</a>
+ <a href="subject.html#21470">[ subject ]</a>
+ <a href="author.html#21470">[ 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>