simple-php-git-deploy icon indicating copy to clipboard operation
simple-php-git-deploy copied to clipboard

git not available. It needs to be installed on the server for this script to work. CentOS

Open dj301 opened this issue 8 years ago • 3 comments

Hi,

We are trying to implement Webhooks. Only our server responds with the following message: git not available. It needs to be installed on the server for this script to work.

We have GIT and RSync enabled. The box is running CentOS with Directadmin installed.

Can this be solved?

Thanks!

dj301 avatar Mar 23 '17 13:03 dj301

Can you copy the full output of the error? You should get it from Github webhooks under Response tab

tuudik avatar Apr 18 '17 05:04 tuudik

I have the same issue.I have writed a PHP script.In PHP command call it is ok, but used "curl" the url , there is no any results. check.php <?php $path = trim(shell_exec('which '.'git')); printf($path); ?>

verycici avatar Aug 14 '17 08:08 verycici

if u are use whm u can use /usr/local/cpanel/3rdparty/bin/git path

melihyuksel avatar Nov 16 '17 07:11 melihyuksel