When the APCU extension is installed and PHP FPM is started, an error is reported: Note: PHP message: PHP fatal error: PHP startup: APC_ mmap: mmap failed: in Unknown on line 0
The reason is shm_sizeĀ setting is too large.
Solution: Just set shm_size to make the size configuration smaller
As follows:
apc.shm_size=1024M
apc.shm_size=1024M
Similar Posts:
- Cannot load php7apache2 to server
- [Solved] MySQL Add New Field Error: ERROR 1118 — Row size too large. The maximum row size for the used table type
- Call to undefined function socket_create()
- PHP xampp Windows environment installation extension redis fatal error: class’ redis’ not found solution
- [Solved] Fatal error: Call to undefined function json_decode()
- [Solved] WordPress Error: Allowed memory size of 134217728 bytes exhausted
- Too small initial heap for new size specified
- Fatal error: Uncaught Error: Class “SQLite3” not found in C:\Code\phpcode\phpbk\tt.php:2 Stack trace: #0 {main} thrown in C:\Code\phpcode\phpbk\tt.php on line 2
- Error in importing excel file from SQL Server
- Error in creating SQL Server database by Navicat premium (5174)