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