Re: TSRMG
| From: | William A. Rowe, Jr. | Date: | Fri, 06 Jul 2007 00:32:09 +0000 |
| Subject: | Re: TSRMG | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30473@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
>> something isn't clear to me: Is php as apache module supposed to work
>> without problems - if compiled as zts - only on apache worker or even
>> on apache prefork?
>
> I think if you manage to compile it that way it might work, but I don't
> really see why you would want to do it - TS build is slower.
If you want a module loadable under either prefork, or worker, or even
perhaps the newer event mpm; you must build zts. Since many OS bundles
support multiple MPM's - they are going to build zts.
And you are right - wins you nothing (loses you a bit in performance) to
run the prefork MPM with zts.