求教,coding演示,报错。。。

2015-11-06T15:39:25.79+0800 [App/0]   ERR 2015/11/06 07:39:25 [error] 94#0: *2 FastCGI sent in stderr: "PHP message: PHP Warning:  include(/dev/addinfo/public/index.php): failed to open stream: No such file or directory in /home/vcap/app/index.php on line 2
2015-11-06T15:39:25.79+0800 [App/0]   ERR PHP message: PHP Warning:  include(): Failed opening '/dev/addinfo/public/index.php' for inclusion (include_path='.:/app/.heroku/php/lib/php') in /home/vcap/app/index.php on line 2" while reading response header from upstream, client: 10.9.10.162, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/heroku.fcgi.62822.sock:", host: "addinfo.coding.io"
2015-11-06T15:39:25.79+0800 [RTR]     OUT addinfo.coding.io - [06/11/2015:15:39:25 +0800] "GET / HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.7" 10.10.6.171:37192 vcap_request_id:310bec9f-3899-44b4-50dd-de342fc0a85b response_time:0.003180951 app_id:1f7d39d3-41d9-4a46-bbf6-6bdb8c7ebe7b
2015-11-06T15:39:25.90+0800 [App/0]   ERR 2015/11/06 07:39:25 [error] 94#0: *4 FastCGI sent in stderr: "PHP message: PHP Warning:  include(/dev/addinfo/public/index.php): failed to open stream: No such file or directory in /home/vcap/app/index.php on line 2
2015-11-06T15:39:25.90+0800 [App/0]   ERR PHP message: PHP Warning:  include(): Failed opening '/dev/addinfo/public/index.php' for inclusion (include_path='.:/app/.heroku/php/lib/php') in /home/vcap/app/index.php on line 2" while reading response header from upstream, client: 10.9.10.162, server: _, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/tmp/heroku.fcgi.62822.sock:", host: "addinfo.coding.io", referrer: "http://addinfo.coding.io/"

终于成功演示了,原来

  1. 需要vendor

  2. 自己默认路径前面还要加个/app ,即 在根目录下添加的index.php中如下写上

<?php
include('/app/dev/crazy-api/public/index.php');
JellyBool
修改的评论也不能少于六个字哦!
woailuosj
修改的评论也不能少于六个字哦!
woailuosj
修改的评论也不能少于六个字哦!
woailuosj
修改的评论也不能少于六个字哦!
woailuosj
修改的评论也不能少于六个字哦!