PHP/Apache crashing on script (Segmentation fault (11)

可紊 提交于 2019-12-04 03:03:22

UPDATE3: (Solution)

Persisten option of PDO broke my performance sadly enough.

Found the solution with strace: After running the index on command line with strace (strace php index.php) I found the problem at one of the queries.

After separating the query i replaced my class with default PDO. Adding options of my class till it was broken again: After some more debugging (using PDO instead of my own class) I found out that the problem was setting my own PDO option "ATTR_PERSISTENT => true". Disabling this option solved my problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!