tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/php{54,55} and www/apache24 does not work without ZTS support


In message <>
        on Mon, 17 Mar 2014 23:51:03 +0900 (JST),
        Ryo ONODERA <> wrote:
>>> [Mon Mar 17 20:49:54.145101 2014] [:crit] [pid 19026:tid 140187728347136] 
>>> Apache is running a threaded MPM, but your PHP Module is not compiled to be 
>>> threadsafe.  You need to recompile PHP.
>>> AH00013: Pre-configuration failed
>> Is this new breakage, or have our php packages/modules always not worked
>> with apache24?
> Oops. This breakage is caused from my change in apache24.
www/ap-php and some php modules are also broken on phgsrc-2013Q4
branch, it is too bad.

And effect of maintainer-zts should be consitent in all PHP and its
modules.  So, how about disable maintainer-zts explicitly?

I'm not yet do runtime test, but it should fix unloadble php modules
in ap-php.

Takahiro Kambe <>/<>

Index: lang/php54/Makefile.php
RCS file: /cvsroot/pkgsrc/lang/php54/Makefile.php,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile.php
--- lang/php54/Makefile.php     21 Jul 2013 17:29:47 -0000      1.6
+++ lang/php54/Makefile.php     25 Mar 2014 16:26:46 -0000
@@ -72,7 +72,9 @@
 CONFIGURE_ARGS+=       --without-openssl
-.if !empty(PKG_OPTIONS:Mmaintainer-zts)
+.if empty(PKG_OPTIONS:Mmaintainer-zts)
+CONFIGURE_ARGS+=       --disable-maintainer-zts
 CONFIGURE_ARGS+=       --enable-maintainer-zts

Home | Main Index | Thread Index | Old Index