Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Heroku入门PHP不在本地运行_Php_Heroku - Fatal编程技术网

Heroku入门PHP不在本地运行

Heroku入门PHP不在本地运行,php,heroku,Php,Heroku,我已经克隆了heroku php入门应用程序,并运行了“composer update”来安装所有依赖项,包括作为开发人员依赖项的heroku构建包 现在,当我运行“heroku local”时,我得到了以下错误,我不太确定它们的意思是什么,在网上查找很少的信息。将应用程序推到Heroku,它在那里运行良好 web.1 | AH00558: httpd: Could not reliably determine the server's fully qualified domain name,

我已经克隆了heroku php入门应用程序,并运行了“composer update”来安装所有依赖项,包括作为开发人员依赖项的heroku构建包

现在,当我运行“heroku local”时,我得到了以下错误,我不太确定它们的意思是什么,在网上查找很少的信息。将应用程序推到Heroku,它在那里运行良好

web.1  | AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using Warrens-iMac.local. Set the 'ServerName' directive globally to suppress this message
web.1  | DOCUMENT_ROOT changed to 'web/'
web.1  | 4 processes at 128MB memory limit.
web.1  | Starting php-fpm...
web.1  | Starting httpd...
web.1  | Application ready for connections on port 5000.
web.1  | httpd: Syntax error in -C/-c directive: Include takes one argument, Name(s) of the config file(s) to be included; fails if the wildcard does not match at least one file
web.1  | Process exited unexpectedly: httpd
web.1  | Going down, terminating child processes...
web.1  | [Wed Dec  2 10:55:49 2015]  Script:  '-'

你找到答案了吗?我认为大多数人通常只是在本地运行自己的PHP服务器,这可能就是为什么还没有得到答案的原因。我刚刚检查了Heroku PHP文档,一个月后,它们仍然没有解决这个问题。