APM php-agent causes core dumps