[Info-vax] Apache + mod_php performance

Arne Vajhøj arne at vajhoej.dk
Wed Sep 25 19:10:34 EDT 2024


On 9/25/2024 6:24 PM, Lawrence D'Oliveiro wrote:
> On Wed, 25 Sep 2024 17:17:32 -0400, Arne Vajhøj wrote:
>> Using worker MPM on VMS would make more sense IMHO.
> 
> According to the docs
> <https://httpd.apache.org/docs/2.4/mod/worker.html>, this is a hybrid
> multithread/multiprocess model.

Yes. And I think that would fit better with VMS.

>                                 But threading won’t work with PHP, because
> mod_php isn’t threadsafe.

The worker MPM works fine with PHP.

Two different ways:
A) Build mod_php and PHP extensions thread safe
B) Use fcgi or fpm

Option #A is common on Windows.

Option #B is common on Linux.

I think #A would fit better with VMS.

Arne




More information about the Info-vax mailing list