如何使用GitList和Wamp安装本地Git资源库查看器?

时间:2018-11-17 10:30:01

标签: php git wamp

我正在尝试使用gitlist和wamp安装本地git存储库查看器。我对这些技术非常陌生,任何帮助都将非常有用!我遵循了以下教程

https://tournasdimitrios1.wordpress.com/2012/09/03/how-to-install-a-local-git-repository-viewer-using-gitlist-and-wamp/
但它返回了我一个错误!

USER@DESKTOP-C2RTCQF MINGW64 /c/wamp64/www/test(master)
$ curl -s http://getcomposer.org/installer | php
bash: php: command not found

我在做什么错了?

1 个答案:

答案 0 :(得分:0)

您的路径中没有php

文章提到了这一点

  

先决条件:如前所述,Apache — PHP5.3

按照有关如何为您的系统安装它的说明进行操作:

http://php.net/manual/en/install.php

验证您的路径中是否有php

# simply type php and see if there is an input
php

# check which php is your OS is using
# Where does the php execution located
which php