Re: cannot allocate memory in static TLS block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024-07-16 11:35, AllenJB wrote:
It looks like you're using PHP as an Apache extension (mod_php) with the Event MPM. This is not a recommended setup.

Either switch to PHP-FPM (I would recommend this option) or use the Prefork MPM.

Using PHP-FPM will completely separate PHP and Apache, which will reduce the potential for issues (particularly if using PHP from a third party repo or self-compiled), as well as being more flexible and performant.

See the warnings on https://www.php.net/manual/en/install.unix.apache2.php

See also https://cwiki.apache.org/confluence/display/HTTPD/PHP


Okay,

thank you. Switching to Prefork MPM. I will read how to setup PHP-FPM under Apache.



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux