Re: cannot allocate memory in static TLS block
| From: | Condor | Date: | Tue, 16 Jul 2024 08:56:37 +0000 |
| Subject: | Re: cannot allocate memory in static TLS block | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328460@lists.php.net to get a copy of this message | ||
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/PHPOkay, thank you. Switching to Prefork MPM. I will read how to setup PHP-FPM under Apache.