php deployer:Could not open a connection to your authentication agent.

最近在安裝deployer這套deploy工具,遇到了這個問題:
Could not open a connection to your authentication agent.

解法:

參考:http://stackoverflow.com/questions/24154816/git-bash-could-not-open-a-connection-to-your-authentication-agent

在ubuntu 14.0上安裝php5-ssh2

最近要安裝php deployer來deploy,碰到需要用composer裝”herzult/php-ssh”:”1.1.1″ ,而裝這個又需要安裝php5-ssh2。

在ubuntu 14.0上安裝php5-ssh2步驟如下:

 

參考:http://php.net/manual/en/ssh2.installation.php

ubuntu 14:將php升級至5.6以上

PHP 5.6 on Ubuntu 14

 

參考文章:PHP 5.6 on Ubuntu 14