首页 > 解决方案 > 如何使用 GitList 和 Wamp 安装本地 Git 存储库查看器?

问题描述

我正在尝试使用 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

我究竟做错了什么?

标签: phpgitwamp

解决方案


你没有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

推荐阅读