php - Zend Framework 2 project crashing on heroku -


i have used tutorial guideline setting zf2 project on heroku. app deploys on heroku dyno crashes after , not load project.

from logs, can see unable open web-boot.sh file in heroku folder in root directory.

following log trace

2014-08-18t06:10:39.793559+00:00 heroku[web.1]: starting process command `sh www/heroku/web-boot.sh` 2014-08-18t06:10:40.635178+00:00 app[web.1]: sh: can't open www/heroku/web-boot.sh 2014-08-18t06:10:41.380597+00:00 heroku[web.1]: state changed starting crashed 2014-08-18t06:10:41.380597+00:00 heroku[web.1]: state changed crashed starting 2014-08-18t06:10:41.368316+00:00 heroku[web.1]: process exited status 2 2014-08-18t06:10:48.431308+00:00 app[web.1]: sh: can't open www/heroku/web-boot.sh 2014-08-18t06:10:47.975671+00:00 heroku[web.1]: starting process command `sh www/heroku/web-boot.sh` 2014-08-18t06:10:49.122386+00:00 heroku[web.1]: process exited status 2 2014-08-18t06:10:49.133922+00:00 heroku[web.1]: state changed starting crashed 2014-08-18t06:10:50.371350+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/" host=helpost.herokuapp.com request_id=3e957942-3456-4513-a713-ea99d0154926 fwd="54.81.202.247" dyno= connect= service= status=503 bytes= 2014-08-18t06:20:16.319906+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/" host=helpost.herokuapp.com request_id=e7a0f7c3-1e15-4ad1-a327-c7f95fb79421 fwd="171.78.32.46" dyno= connect= service= status=503 bytes= 2014-08-18t06:20:18.297172+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/favicon.ico" host=helpost.herokuapp.com request_id=64877d05-01c4-4fbc-b1dc-ab91e1f8aa21 fwd="171.78.32.46" dyno= connect= service= status=503 bytes= 

anyone can me on this? important me done!

thanks

you don't need of instructions anymore. information old , outdated; heroku has official support php including composer.

change procfile entry:

web: vendor/bin/heroku-php-apache2 public/ 

that should need. can drop heroku/ directory too.

please read docs: https://devcenter.heroku.com/categories/php


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -