I have installed CakePHP 3.1 on my apache server via composer, but after that I get an 500 error. The .htaccess file looks good. "AllowOverride All" is set to All for vhosts and */htdocs. The log shows this line:
[Thu Sep 24 10:15:20.193955 2015] [:error] [pid 7231:tid 2761524324096] (104)Connection reset by peer: [client 89.x.x.x:42930] FastCGI: failed to read from backend server
Since my host is Gandi, I looked up for some hints there:
This error indicates that the Apache service did not get a response from the interpreter (PHP, node.js, Python, etc.) and so it was unable to deliver the requested page. When this error occurs, you should analyze the interpreter's logs in order to search for the error that is at the origin of the problem.
So, what do I do now? the logs directory of CakePHP only shows an empty file named "empty". I hope someone can give me a hint, how I can solve the problem.
PS: While installing CakePHP, I got the following errors, which I thought I could ignore, since it proceeded with installation:
Cannot create cache directory /srv/data/.composer/cache/[...] , or directory is not writable. Proceeding without cache