Enable core dumps in Apache

view story

http://serverfault.com – I would like to enable core dumps in my Apache web server. Since I have PHP 5.5 and OPcache my Mediawiki site crashes with the following error: child pid ... exit signal Segmentation fault (11) So I would like to get more information through the core dump. I created a directory: /tmp/apache-coredump owned by http:http (my apache user and group) and with the 777 rights. I added to the httpd.conf file: CoreDumpDirectory "/tmp/apache-coredump" But, now (with the CoreDumpDirectory instruction) my Apache server crashes on start-up: sudo systemctl restart httpd Job for httpd.service faile (HowTos)