There are a couple ways to debug php applications. We can enable core dump and/or install Xdebug. Enable php core dump on php-fpm First instruct the kernel to write core dumps to /tmp. On some system, dumps are fed to abrtd. echo ‘/tmp/core-%e.%p’ > /proc/sys/kernel/core_pattern In php-fpm.conf, add the following rlimit_core = unlimited Restart php-fpm…