Re: cvs: php-src /sapi/apache2filter config.m4 /sapi/apache2handler config.m4
| From: | Lars Strojny | Date: | Sun, 09 Mar 2008 23:50:30 +0000 |
| Subject: | Re: cvs: php-src /sapi/apache2filter config.m4 /sapi/apache2handler config.m4 | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-49013@lists.php.net to get a copy of this message | ||
Hi Hannes,
and again I have to change my opinion. As stated in
http://www.telana.com/peruser.php, peruser is -
unlike its predecessor
metux - non-threaded. So it is completely correct to build PHP without
thread safety in cases of prefork, itk *and* peruser.
cu, Lars
Am Sonntag, den 09.03.2008, 12:08 +0100 schrieb Hannes Magnusson:
> 2008/3/9 Lars Strojny <lstrojny@php.net>:
> > lstrojny Sun Mar 9 01:10:13 2008 UTC
> >
> > Modified files:
> > /php-src/sapi/apache2filter config.m4
> > /php-src/sapi/apache2handler config.m4
> > Log:
> > Adding itk and and peruser MPM to the list of threaded Apache MPMs
> >
> >
> >
> > http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2filter/config.m4?r1=1.45&r2=1.46&diff_format=u
> > Index: php-src/sapi/apache2filter/config.m4
> > diff -u php-src/sapi/apache2filter/config.m4:1.45
> > php-src/sapi/apache2filter/config.m4:1.46
> > --- php-src/sapi/apache2filter/config.m4:1.45 Wed Jul 11 23:10:14 2007
> > +++ php-src/sapi/apache2filter/config.m4 Sun Mar 9 01:10:13 2008
> > @@ -1,5 +1,5 @@
> > dnl
> > -dnl $Id: config.m4,v 1.45 2007/07/11 23:10:14 jani Exp $
> > +dnl $Id: config.m4,v 1.46 2008/03/09 01:10:13 lstrojny Exp $
> > dnl
> >
> > PHP_ARG_WITH(apxs2filter,,
> > @@ -110,7 +110,7 @@
> >
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
ln -s $APXS_BINDIR/httpd _APP_
> > EXTRA_LIBS="$EXTRA_LIBS _APP_"
> > PHP_SELECT_SAPI(apache2filter, shared, sapi_apache2.c apache_config.c
> > php_functions.c, $APACHE_CFLAGS)
> > - INSTALL_IT="$INSTALL_IT $SAPI_LIBTOOL"
> > + INSTALL_IT="$INSTALL_IT $SAPI_LIBTOOL"
> > ;;
> > *)
> > PHP_SELECT_SAPI(apache2filter, shared, sapi_apache2.c apache_config.c
> > php_functions.c, $APACHE_CFLAGS)
> > @@ -118,7 +118,7 @@
> > ;;
> > esac
> >
> > - if test "$APXS_MPM" != "prefork"; then
> > + if test "$APXS_MPM" != "prefork" && test
> > "$APXS_MPM" != "peruser" && test "$APXS_MPM" !=
> > "itk"; then
> > PHP_BUILD_THREAD_SAFE
>
> peruser is threaded, itk is not.
>
> -Hannes
>
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc