PHP Fatal error

  • Beitrags-Autor:
  • Beitrags-Kategorie:Linux

PHP Fatal error: PHP Startup: apc_shm_create: shmget(0, 67108864, 914) failed: Invalid argument. It is possible that the chosen SHM segment size is higher than the operation system allows. Linux has usually a default limit of 32MB per segment. in Unknown on line 0

systemctl status php-fpm.service -l
sysctl -w kernel.shmmax=268435456
systemctl restart php-fpm
systemctl restart nginx