summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-January/021449.html
blob: dd00134da707564ed38385beca91c24e578d1bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!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=%3C201301110725.13237.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="021447.html">
   <LINK REL="Next"  HREF="021450.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=%3C201301110725.13237.thomas%40btspuhler.com%3E"
       TITLE="[Mageia-dev] PHP treadsafe">thomas at btspuhler.com
       </A><BR>
    <I>Fri Jan 11 15:25:08 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="021447.html">[Mageia-dev] PHP treadsafe
</A></li>
        <LI>Next message: <A HREF="021450.html">[Mageia-dev] PHP treadsafe
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#21449">[ date ]</a>
              <a href="thread.html#21449">[ thread ]</a>
              <a href="subject.html#21449">[ subject ]</a>
              <a href="author.html#21449">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Friday, January 11, 2013 03:21:52 AM Colin Guthrie wrote:
&gt;<i> 'Twas brillig, and Thomas Spuhler at 08/01/13 14:25 did gyre and gimble:
</I>&gt;<i> &gt; On Tuesday, January 08, 2013 04:36:26 AM Oliver Burger wrote:
</I>&gt;<i> &gt;&gt; Am 08.01.2013 11:04, schrieb Frederik Himpe:
</I>&gt;<i> &gt;&gt;&gt; On Sat, 05 Jan 2013 10:20:35 -0700, Thomas Spuhler wrote:
</I>&gt;<i> &gt;&gt;&gt;&gt; If nobody objects I am going to rebuild php treadsafe
</I>&gt;<i> &gt;&gt;&gt;&gt; (--enable-maintainer-zts)
</I>&gt;<i> &gt;&gt;&gt;&gt; it is needed for running apache with mpm-module-worker instead of
</I>&gt;<i> &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; declared as stable.
</I>&gt;<i> &gt;&gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt;&gt;&gt; But apache mpm-prefork starts with php compiled treadsafe apache
</I>&gt;<i> &gt;&gt;&gt;&gt; mpm-worker doesn't start with php compiled none-treadsafe
</I>&gt;<i> &gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt;&gt; You can run PHP with apache2-mpm-worker with mod_fcgid and php5-cgi or
</I>&gt;<i> &gt;&gt;&gt; php5-fpm.
</I>&gt;<i> &gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt;&gt; This is what Debian Wheezy's README file for php says:
</I>&gt;<i> &gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt;&gt; Using PHP 5 with threaded webservers (e.g. apache2-mpm-worker)
</I>&gt;<i> &gt;&gt;&gt; ----------------------------------------------------------------------
</I>&gt;<i> &gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt;&gt;    After much back-and-forth with upstream (and even building our
</I>&gt;<i> &gt;&gt;&gt;    packages thread-safe for a while), we're currently admitting defeat
</I>&gt;<i> &gt;&gt;&gt;    on that front, and are NOT building any thread-safe versions of PHP
</I>&gt;<i> &gt;&gt;&gt;    5 for any webservers. Our recommendation is that, if you need to use
</I>&gt;<i> &gt;&gt;&gt;    a threaded webserver, you should use php5-fpm and interface to your
</I>&gt;<i> &gt;&gt;&gt;    webserver with FastCGI.
</I>&gt;<i> &gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt;&gt; I think Mageia is hurting itself by enabling too experimental features.
</I>&gt;<i> &gt;&gt;&gt; Another example is the uas kernel module, of which I saw a complaint
</I>&gt;<i> &gt;&gt;&gt; recently in this mailing list. This module is known to be buggy, and
</I>&gt;<i> &gt;&gt;&gt; disabled in Debian.
</I>&gt;<i> &gt;&gt; 
</I>&gt;<i> &gt;&gt; +1
</I>&gt;<i> &gt;&gt; 
</I>&gt;<i> &gt;&gt; That's what Oden told me yesterday on IRC.
</I>&gt;<i> &gt;&gt; 
</I>&gt;<i> &gt;&gt; So as current php maintainer I vote against enabling this.
</I>&gt;<i> &gt;&gt; 
</I>&gt;<i> &gt;&gt; Oliver
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; I guess I then will revert it to NTS.
</I>&gt;<i> &gt; Fedora builds it with both options. But it may be too late now going that
</I>&gt;<i> &gt; way.
</I>&gt;<i> 
</I>&gt;<i> FWIW, over the last few days I've had to rebuild several PHP modules to
</I>&gt;<i> get my system working properly.
</I>&gt;<i> 
</I>&gt;<i> A couple days ago I had to rebuild both php-memcached and php-redis.
</I>&gt;<i> 
</I>&gt;<i> Today I've had to rebuild php-memcached, php-redis and php-timezonedb.
</I>&gt;<i> 
</I>&gt;<i> I'm not against enabling features etc. to try them out but when doing so
</I>&gt;<i> care really should be taken to rebuild all affected PHP modules not just
</I>&gt;<i> the core ones.
</I>&gt;<i> 
</I>&gt;<i> Thanks.
</I>&gt;<i> 
</I>&gt;<i> Col
</I>Why did you have to rebuild them as a result of the new features? TS has been reverted to NTS so, 
there are no new features.
-- 
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/662492f5/attachment.asc&gt;
</PRE>





<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="021447.html">[Mageia-dev] PHP treadsafe
</A></li>
	<LI>Next message: <A HREF="021450.html">[Mageia-dev] PHP treadsafe
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#21449">[ date ]</a>
              <a href="thread.html#21449">[ thread ]</a>
              <a href="subject.html#21449">[ subject ]</a>
              <a href="author.html#21449">[ 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>