我遵循了 Phabricator 安装和配置指南: http ://www.phabricator.com/docs/phabricator/article/Installation_Guide.html http://www.phabricator.com/docs/phabricator/article/Configuration_Guide.html
当我导航到http://localhost
进行最终设置时,我收到这条消息,说它找不到 git 命令(还有警告说“警告 pcntl 不可用! ”:
PHABRICATOR SETUP
This setup mode will guide you through setting up your Phabricator configuration.
>>> CORE CONFIGURATION -------------------------------------------------------
okay PHP's deprecated 'safe_mode' is disabled.
okay 'open_basedir' is not set.
[WARN] You have not configured 'security.alternate-file-domain'. This makes your installation vulnerable to attack. Make sure you read the documentation for this parameter and understand the consequences of leaving it unconfigured.
okay $PATH is nonempty.
[OKAY] Core configuration OKAY.
>>> REQUIRED PHP EXTENSIONS --------------------------------------------------
okay Extension 'mysql' installed.
okay Extension 'hash' installed.
okay Extension 'json' installed.
okay Extension 'openssl' installed.
okay Extension 'mbstring' installed.
okay Extension 'iconv' installed.
okay Extension 'curl' installed.
okay PHP binary found on the command line.
okay PHP is available from the command line.
okay 'php' is CLI SAPI.
warn pcntl is not available!
[WARN] *** WARNING *** pcntl extension not available. You will not be able to run daemons.
>>> GIT SUBMODULES -----------------------------------------------------------
EXCEPTION!
exception 'CommandException' with message 'Command '(cd '/Users/piotr/Phabricator/phabricator' && git submodule status)' failed with error #127:
stdout:
stderr:
sh: git: command not found
' in /Users/piotr/Phabricator/libphutil/src/future/exec/ExecFuture.php:334
Stack trace:
#0 /Users/piotr/Phabricator/libphutil/src/future/exec/execx.php(34): ExecFuture->resolvex()
#1 /Users/piotr/Phabricator/phabricator/src/infrastructure/PhabricatorSetup.php(264): execx('(cd %s && git s...', '/Users/piotr/Ph...')
#2 /Users/piotr/Phabricator/phabricator/webroot/index.php(121): PhabricatorSetup::runSetup()
#3 {main}
我还想提一下,我有 git,我可以从终端毫无问题地运行它。