diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2013-January/021470.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2013-January/021470.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-January/021470.html | 164 |
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: +><i> 'Twas brillig, and Thomas Spuhler at 11/01/13 14:25 did gyre and gimble: +</I>><i> > On Friday, January 11, 2013 03:21:52 AM Colin Guthrie wrote: +</I>><i> >> 'Twas brillig, and Thomas Spuhler at 08/01/13 14:25 did gyre and gimble: +</I>><i> >>> On Tuesday, January 08, 2013 04:36:26 AM Oliver Burger wrote: +</I>><i> >>>> Am 08.01.2013 11:04, schrieb Frederik Himpe: +</I>><i> >>>>> On Sat, 05 Jan 2013 10:20:35 -0700, Thomas Spuhler wrote: +</I>><i> >>>>>> If nobody objects I am going to rebuild php treadsafe +</I>><i> >>>>>> (--enable-maintainer-zts) +</I>><i> >>>>>> it is needed for running apache with mpm-module-worker instead of +</I>><i> >>>>>> prefork and php apache module worker is needed by 389-ds. It is now +</I>><i> >>>>>> declared as stable. +</I>><i> >>>>>> +</I>><i> >>>>>> But apache mpm-prefork starts with php compiled treadsafe apache +</I>><i> >>>>>> mpm-worker doesn't start with php compiled none-treadsafe +</I>><i> >>>>> +</I>><i> >>>>> You can run PHP with apache2-mpm-worker with mod_fcgid and php5-cgi +</I>><i> >>>>> or php5-fpm. +</I>><i> >>>>> +</I>><i> >>>>> This is what Debian Wheezy's README file for php says: +</I>><i> >>>>> +</I>><i> >>>>> Using PHP 5 with threaded webservers (e.g. apache2-mpm-worker) +</I>><i> >>>>> --------------------------------------------------------------------- +</I>><i> >>>>> - +</I>><i> >>>>> +</I>><i> >>>>> After much back-and-forth with upstream (and even building our +</I>><i> >>>>> packages thread-safe for a while), we're currently admitting +</I>><i> >>>>> defeat on that front, and are NOT building any thread-safe +</I>><i> >>>>> versions of PHP 5 for any webservers. Our recommendation is that, +</I>><i> >>>>> if you need to use a threaded webserver, you should use php5-fpm +</I>><i> >>>>> and interface to your webserver with FastCGI. +</I>><i> >>>>> +</I>><i> >>>>> I think Mageia is hurting itself by enabling too experimental +</I>><i> >>>>> features. Another example is the uas kernel module, of which I saw a +</I>><i> >>>>> complaint recently in this mailing list. This module is known to be +</I>><i> >>>>> buggy, and disabled in Debian. +</I>><i> >>>> +</I>><i> >>>> +1 +</I>><i> >>>> +</I>><i> >>>> That's what Oden told me yesterday on IRC. +</I>><i> >>>> +</I>><i> >>>> So as current php maintainer I vote against enabling this. +</I>><i> >>>> +</I>><i> >>>> Oliver +</I>><i> >>> +</I>><i> >>> I guess I then will revert it to NTS. +</I>><i> >>> Fedora builds it with both options. But it may be too late now going +</I>><i> >>> that way. +</I>><i> >> +</I>><i> >> FWIW, over the last few days I've had to rebuild several PHP modules to +</I>><i> >> get my system working properly. +</I>><i> >> +</I>><i> >> A couple days ago I had to rebuild both php-memcached and php-redis. +</I>><i> >> +</I>><i> >> Today I've had to rebuild php-memcached, php-redis and php-timezonedb. +</I>><i> >> +</I>><i> >> I'm not against enabling features etc. to try them out but when doing so +</I>><i> >> care really should be taken to rebuild all affected PHP modules not just +</I>><i> >> the core ones. +</I>><i> >> +</I>><i> >> Thanks. +</I>><i> >> +</I>><i> >> Col +</I>><i> > +</I>><i> > Why did you have to rebuild them as a result of the new features? TS has +</I>><i> > been reverted to NTS so, there are no new features. +</I>><i> +</I>><i> For php-timezonedb it specifically mentioned that it was built against +</I>><i> the TS version where as the core PHP was NTS (TS vs NTS in the build ids +</I>><i> it was comparing). +</I>><i> +</I>><i> +</I>><i> For the other two, they complained about missing symbols when the TS +</I>><i> version appeared. I forget the symbol itself but it was mentioned +</I>><i> global_config. +</I>><i> +</I>><i> They had the same error today (presumably after reverting) so had to +</I>><i> rebuild again. +</I>><i> +</I>><i> I guess enabling TS vs. NTS changes things more subtly than it might +</I>><i> appear. +</I>><i> +</I>><i> Easy enough to reproduce - just install them and run "php -v" on the +</I>><i> command line to see the list of errors. +</I>><i> +</I>><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: </pipermail/mageia-dev/attachments/20130111/1c45a41d/attachment.asc> +</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> |