From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2013-January/021450.html | 159 ++++++++++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 zarb-ml/mageia-dev/2013-January/021450.html (limited to 'zarb-ml/mageia-dev/2013-January/021450.html') 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 @@ + + + + [Mageia-dev] PHP treadsafe + + + + + + + + + +

[Mageia-dev] PHP treadsafe

+ Colin Guthrie + mageia at colin.guthr.ie +
+ Fri Jan 11 15:38:26 CET 2013 +

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

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1