I have an Almalinux 9.5 VPS (4CPU 8GB RAM) with Openlitespeed 1.8.
If I enable opcache I get errors and the site either gets stuck on loading or I get a white screen. This happens with lsphp74, lsphp82 and lsphp83. There is only 1 site on the server where I'm trying to install WordPress.
The server logs have these messages:
"Fatal Error Unable to allocate shared memory segment of 201326592 bytes: mmap: Cannot allocate memory (12)"
"No request delivery notification has been received from LSAPI application, possible dead lock."
In all php versions if I disable opcache with "opcache.enable = 0" in "/usr/local/lsws/lsphp82/etc/php.d/10-opcache.ini" and restart the server all the errors go away and I can install WordPress normally.
I tried different opcache settings besides the default, but none seem to work. My php memory limit in all PHP versions is 512M.
If I enable opcache I get errors and the site either gets stuck on loading or I get a white screen. This happens with lsphp74, lsphp82 and lsphp83. There is only 1 site on the server where I'm trying to install WordPress.
The server logs have these messages:
"Fatal Error Unable to allocate shared memory segment of 201326592 bytes: mmap: Cannot allocate memory (12)"
"No request delivery notification has been received from LSAPI application, possible dead lock."
In all php versions if I disable opcache with "opcache.enable = 0" in "/usr/local/lsws/lsphp82/etc/php.d/10-opcache.ini" and restart the server all the errors go away and I can install WordPress normally.
I tried different opcache settings besides the default, but none seem to work. My php memory limit in all PHP versions is 512M.