summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-November/019978.html
blob: 1e01ef3626ad0cf9d778361c5ca7f876f7d19978 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] php threadsafe
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20php%20threadsafe&In-Reply-To=%3C201211131808.45825.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="019970.html">
   <LINK REL="Next"  HREF="019980.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] php threadsafe</H1>
    <B>Thomas Spuhler</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20php%20threadsafe&In-Reply-To=%3C201211131808.45825.thomas%40btspuhler.com%3E"
       TITLE="[Mageia-dev] php threadsafe">thomas at btspuhler.com
       </A><BR>
    <I>Wed Nov 14 02:08:45 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="019970.html">[Mageia-dev] php threadsafe
</A></li>
        <LI>Next message: <A HREF="019980.html">[Mageia-dev] php threadsafe
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#19978">[ date ]</a>
              <a href="thread.html#19978">[ thread ]</a>
              <a href="subject.html#19978">[ subject ]</a>
              <a href="author.html#19978">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Tuesday, November 13, 2012 12:10:34 PM AL13N wrote:
&gt;<i> Op dinsdag 13 november 2012 12:17:54 schreef Funda Wang:
</I>&gt;<i> &gt; 2012/11/13 Thomas Spuhler &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">thomas at btspuhler.com</A>&gt;
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; &gt; Since this isn't a bug, I am brining it up here:
</I>&gt;<i> &gt; &gt; The 389-ds wants apache to run with the mpm_worker_module.
</I>&gt;<i> &gt; &gt; Apache-2.4 provides now this module as stabel
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; When I do this (using mpm-worker I get this error:
</I>&gt;<i> &gt; &gt; Apache is running a threaded MPM, but your PHP Module is not compiled
</I>&gt;<i> &gt; &gt; to be threadsafe.  You need to
</I>&gt;<i> &gt; &gt; recompile PHP
</I>&gt;<i> &gt; &gt; I am not quite sure how to proceed. What would be the disadvantage of
</I>&gt;<i> &gt; &gt; compiling PHP threadsafe?
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; It is not turned on by default :(
</I>&gt;<i> 
</I>&gt;<i> PHP? or mpm-worker? or a module that you require?
</I>&gt;<i> 
</I>&gt;<i> if you compile threadsafe, does this mean it has a restriction on modules
</I>&gt;<i> to be threadsafe too, and maybe alot of those aren't?
</I>
the 389-ds needs the apache with mpm-worker. This is now a stable module in 2.4 which we have.
but PHP needs to be compiled threadsafe in order to use it
There isn't a lot of information on how to complie php threadsafe.
I did some research and fedora compiles it with --enable-maintainer-zst
They then have a little file that decides if mpm-prefork is used or not and loads the correct php-
module
Whitout this, the apache mpm-worker doens't make much sense.

-- 
Best regards
Thomas Spuhler
</PRE>












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