Re: cannot allocate memory in static TLS block
Condor <[email protected]>
| Newsgroups | gmane.comp.php.general |
|---|---|
| Message-ID | <[email protected]> |
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.