Test script to see whether a server supports Git interaction used by VersionPress.
- Download or clone this repo
- Put it under your webserver
- Visit
git-test.php
in a browser
If all went fine you should see a Git version. If not, try to update the git-test.php
file to point to your Git binary. For example:
$pathToGit = '/path/to/git';
This is similar to setting git-binary option in vpconfig.
If this doesn't help possibly the Symfony\Process cannot read from the process output in which case you need to debug on your end.