I'm trying to deploy a basic cakephp3 web application (clean install) using Openshift Public PaaS (php+mysql+web load balancer).
Unfortunately, openshift always display the following message :
503 Service Unavailable
No server is available to handle this request.
I put this cake application in a folder named application on app-repo/runtime/repo openshift folder.
This application works on my local computer (wampserver).
On openshift :
- If I just put an index.php file with phpinfo(), it works fine.
- .htaccess seams to work too (rewrite engine)
In fact, I think that I get the message when cakephp launch the dispatch (webroot/index.php)
$dispatcher->dispatch(
Request::createFromGlobals(),
new Response());
Openshift log: (app-root/logs/php.log)
[Wed Sep 17 15:25:53 2014] [error] [client 127.7.200.0] Attempt to serve directory: /var/lib/openshift/*/app-root/runtime/repo/
- - - [17/Sep/2014:15:25:53 -0400] "GET / HTTP/1.0" 404 296 "-" "-"
Help! I really don't know what can I do to solve this... Thanks in advance !