expandedfronts / revisr

Revisr: Git for WordPress
https://revisr.io
GNU General Public License v3.0
195 stars 41 forks source link

The install path to Git was not recognized. #125

Closed arafatx closed 5 years ago

arafatx commented 5 years ago

I'm hosting a wordpress site on my own VPS server and I can verify that the git location is a valid path at /bin/git with the command 'which git' on Centos 7

I have also added the constant line from the documentation into my wp-config.php to fix the git path as below: define( 'REVISR_GIT_PATH', '/bin/git' );

Also, I have verified that the git is working fine for both root and non root user (for wordpress) in the terminal.

but still revisr plugin doesn't seem to recognize the git path. Is this bug or any hints for this issue that you can share?

image

arafatx commented 5 years ago

Ok, it seems like problem with the PHP secure function. I enabled the disabled functions proc_open,exec and proc_close in PHP and it works.