Server: Bare Metal, Rocky Linux 8
LITESPEED
Problem: On all PHP versions (8.0, 8.1, 8.3, etc.), if I set opcache.memory_consumption to a value higher than 251M, the /wp-admin area of WordPress site crashes with a fatal 'Out of memory' error, even though the script is only using 25MB of RAM. The front-end of the site works correctly.
Diagnostics I have already done:
The site works perfectly if I set opcache.memory_consumption to a low value (like 128M).
The master php.ini memory_limit is set to over 1024M.
The kernel shmmax and user ulimit are both unlimited.
The issue persists even with all WordPress plugins and a default theme active.
Conclusion: This proves there is a bug in how aaPanel's PHP builds handle OPcache shared memory allocation, which specifically affects the resource-intensive wp-admin area. Can your developers please investigate?