git not available. It needs to be installed on the server for this script to work. CentOS
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!
Can you copy the full output of the error? You should get it from Github webhooks under Response tab
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); ?>
if u are use whm u can use /usr/local/cpanel/3rdparty/bin/git path