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



Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost> writes:

> php-5.3.28nb2, php-5.4.26 and php-5.5.10 do not work with Apache httpd 2.4.7.
>
> Here is error message.
>
> [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?

Is using a threaded MPM just the way apache24 is, or is this some sort
of configuration option?
>
> PKG_OPTIONS=maintainer-zts (CONFIGURE_ARGS+=--enable-maintainer-zts) for
> php5* and ap-php helps this error.

But what else does it change?  Is there some reason our php has been
compiled without the threads option before?

But I see that
  /usr/pkg/bin/php
  /usr/pkg/libexec/cgi-bin/php:

are linked with threads already (in php53), but apparently that's different.

I tried to build php53 with that option, and the build failed.

I'd like to hear comments from other php/apache users/experts, too.

Attachment: pgpsnE2ONcM1V.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index