On 29.02.2012 10:43, jpauli wrote:
On Wed, Feb 29, 2012 at 9:18 AM, Pierre Joye wrote:
hi Bill,
On Tue, Feb 28, 2012 at 11:29 PM, William A. Rowe Jr.
wrote:
On 2/28/2012 3:41 PM, Sebastian Bergmann wrote:
On 02/28/2012 02:44 PM, Christopher Jones wrote:
Build PHP with ZTS enabled by defa
On Wed, Feb 29, 2012 at 9:18 AM, Pierre Joye wrote:
> hi Bill,
>
> On Tue, Feb 28, 2012 at 11:29 PM, William A. Rowe Jr.
> wrote:
> > On 2/28/2012 3:41 PM, Sebastian Bergmann wrote:
> >> On 02/28/2012 02:44 PM, Christopher Jones wrote:
> >>> Build PHP with ZTS enabled by default. Allow it to be
hi Bill,
On Tue, Feb 28, 2012 at 11:29 PM, William A. Rowe Jr.
wrote:
> On 2/28/2012 3:41 PM, Sebastian Bergmann wrote:
>> On 02/28/2012 02:44 PM, Christopher Jones wrote:
>>> Build PHP with ZTS enabled by default. Allow it to be explicitly
>>> disabled during 'configure'
>>
>> Why punish everyo
On 02/28/2012 02:29 PM, William A. Rowe Jr. wrote:
On 2/28/2012 3:41 PM, Sebastian Bergmann wrote:
On 02/28/2012 02:44 PM, Christopher Jones wrote:
Build PHP with ZTS enabled by default. Allow it to be explicitly
disabled during 'configure'
Why punish everyone by default because of Apache
On 2/28/2012 3:41 PM, Sebastian Bergmann wrote:
> On 02/28/2012 02:44 PM, Christopher Jones wrote:
>> Build PHP with ZTS enabled by default. Allow it to be explicitly
>> disabled during 'configure'
>
> Why punish everyone by default because of Apache? Does not make sense to
> me.
What is so dif
Am 28.02.2012 22:41, schrieb Sebastian Bergmann:
> On 02/28/2012 02:44 PM, Christopher Jones wrote:
>> Build PHP with ZTS enabled by default. Allow it to be explicitly
>> disabled during 'configure'
>
> Why punish everyone by default because of Apache? Does not make sense to
> me.
even for ap
I'm not sure I'd take it quite that far. I've done benchmarking of NTS and
ZTS builds and the difference really isn't anything I would consider worth
worrying about in most cases. It's fairly minor.
--Kris
On Tue, Feb 28, 2012 at 1:41 PM, Sebastian Bergmann wrote:
> On 02/28/2012 02:44 PM, Ch
On 02/28/2012 02:44 PM, Christopher Jones wrote:
Build PHP with ZTS enabled by default. Allow it to be explicitly
disabled during 'configure'
Why punish everyone by default because of Apache? Does not make sense to
me.
--
Sebastian BergmannCo-Founder and Principal Consult
On 02/28/2012 08:51 AM, William A. Rowe Jr. wrote:
On 2/27/2012 6:46 PM, Christopher Jones wrote:
On 02/27/2012 01:12 PM, William A. Rowe Jr. wrote:
On 2/27/2012 6:58 AM, jpauli wrote:
Recently we had a bug with the new Apache 2.4 API where apxs doesn't answer
about the MPM configuration
On 2/28/2012 12:26 PM, Stas Malyshev wrote:
>
>> so prefork hasn't been the default in some 7 years. The only sensible build
>> for mod_php is ZTS, which will load and operate whichever mpm is loaded by
>> the user. The only sensible single thread environment is cgi (enhanced,
>> of course, with
Hi!
so prefork hasn't been the default in some 7 years. The only sensible build
for mod_php is ZTS, which will load and operate whichever mpm is loaded by
the user. The only sensible single thread environment is cgi (enhanced,
of course, with fastcgi!)
Please note that TS build is slower an
On 2/27/2012 6:46 PM, Christopher Jones wrote:
>
> On 02/27/2012 01:12 PM, William A. Rowe Jr. wrote:
>> On 2/27/2012 6:58 AM, jpauli wrote:
>
>>> Recently we had a bug with the new Apache 2.4 API where apxs doesn't answer
>>> about the MPM configuration anymore, leading to a ZTS build by default
I did check out the article on using worker thread MPM with PHP on
Linux. The basic argument is that since threads can reclaim memory
used and then freed by other PHP requests, while processes don't
return memory to the OS until they finally exit, there is more memory
available.
However I doubt th
On Tue, Feb 28, 2012 at 10:41 AM, jpauli wrote:
> Actually, the true story for performance is to kill Apache and let Lighttpd
> or NginX do the job, with a pool of fcgi/fpm PHP processes
I'd like to ask you whether it really makes much difference to use
Lighttpd or NginX as opposed to Apache wit
On Mon, February 27, 2012 6:46 pm, Christopher Jones wrote:
>
>
> On 02/27/2012 01:12 PM, William A. Rowe Jr. wrote:
>> On 2/27/2012 6:58 AM, jpauli wrote:
>
>>> Recently we had a bug with the new Apache 2.4 API where apxs
>>> doesn't answer
>>> about the MPM configuration anymore, leading to a ZTS
On Tue, Feb 28, 2012 at 3:37 PM, Tom Boutell wrote:
> On Mon, Feb 27, 2012 at 4:12 PM, William A. Rowe Jr.
> wrote:
> >
> > No, 2.2 and 2.4 don't default to prefork, it's suboptimal, most linux
> > distros have moved away from it...
>
> Ubuntu starts out with the worker threaded MPM. However whe
On Mon, Feb 27, 2012 at 4:12 PM, William A. Rowe Jr.
wrote:
>
> No, 2.2 and 2.4 don't default to prefork, it's suboptimal, most linux
> distros have moved away from it...
Ubuntu starts out with the worker threaded MPM. However when you
install the standard PHP package it switches Apache to the pr
PHP needs a lot more memory than, say, serving static files. If you
used PHP with the worker threaded MPM, and it worked (I haven't heard
many stories of people doing this under Linux), wouldn't you just have
to dial back the number of threads to pretty much the number of
processes you would have a
On Mon, Feb 27, 2012 at 10:12 PM, William A. Rowe Jr.
wrote:
> On 2/27/2012 6:58 AM, jpauli wrote:
> > PHP through mod_php on Linux should compile without ZTS.
> >
> > configure script searches for apxs binary and tries to invoque "apxs -q
> > MPM" to figure out what MPM has been compiled in Apach
On 02/27/2012 01:12 PM, William A. Rowe Jr. wrote:
On 2/27/2012 6:58 AM, jpauli wrote:
Recently we had a bug with the new Apache 2.4 API where apxs doesn't answer
about the MPM configuration anymore, leading to a ZTS build by default.
This bug has now been fixed, was https://bugs.php.net/bug
On 2/27/2012 6:58 AM, jpauli wrote:
> PHP through mod_php on Linux should compile without ZTS.
>
> configure script searches for apxs binary and tries to invoque "apxs -q
> MPM" to figure out what MPM has been compiled in Apache for the TS flag to
> be defined or not (thus, activating PHP ZTS, or
PHP through mod_php on Linux should compile without ZTS.
configure script searches for apxs binary and tries to invoque "apxs -q
MPM" to figure out what MPM has been compiled in Apache for the TS flag to
be defined or not (thus, activating PHP ZTS, or not).
Mainly on Linux, Apache should have bee
On Fri, February 24, 2012 1:52 pm, Tom Boutell wrote:
> 2. Why does php turn on thread-safety for mod_php at all on Linux,
> given that it apparently still doesn't work very well with various
> extensions in a genuinely multithreaded situation, slows things down,
> takes more memory, and leads to p
Once a package has been fetched, pecl install does nothing else than:
phpize, make, make install
and phpize does use php-config.
On Fri, Feb 24, 2012 at 9:51 PM, Tom Boutell wrote:
> On Fri, Feb 24, 2012 at 3:47 PM, Pierre Joye wrote:
>>
>> that's why php-config exists, use it to get which ve
On Fri, Feb 24, 2012 at 3:47 PM, Pierre Joye wrote:
>
> that's why php-config exists, use it to get which version of PHP is
> installed or has to be used (nts, ts, php version, api version, etc.).
> That's all parameter you need to know. php-config should give you the
> path as well afair.
Then s
hi,
On Fri, Feb 24, 2012 at 9:30 PM, Tom Boutell wrote:
> Good point. Last I tried that it worked poorly - I couldn't find a
> bytecode cache that worked with it, performance was poor - and I
> switched to the Microsoft accelerator and IIS. But things may have
> changed.
APC with rwlock is fast
Good point. Last I tried that it worked poorly - I couldn't find a
bytecode cache that worked with it, performance was poor - and I
switched to the Microsoft accelerator and IIS. But things may have
changed.
Doesn't really explain it on Linux...
But what I really want to know is just how to get p
As far as Windows is concerned, it is worth noting that the Apache mod_php
(i.e. ZTS) build is supported. Also, though my information is a bit
outdated, last I heard work was being done to support thread-safe PHP as an
ISAPI module on IIS, though I don't know what the status of that is.
--Kris
28 matches
Mail list logo