masterdevops
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: [Display Git Status] The saved location is not a git repository!To check if
shell_execis enabled I used this code<?php if(function_exists('shell_exec')) { echo "exec is enabled\n"; } ?>and called it with
php file.phpon the command line. The result was that I got the messageexec is enabled. I did it with the same user name as apache is running (i.e.www-data).I also checked the correct ownership of the file under
/var/www/html/wp-content/.gitand there were files which hadrootas username and group. I changed it towww-data(including subdirectories) but the error message is still showing up.root@beb35a1d43af:/var/www/html/wp-content/.git# ls -al total 104 drwxr-xr-x 8 www-data www-data 4096 Jan 19 23:06 . drwxrwxrwx 8 www-data www-data 4096 Jan 19 22:31 .. -rw-r--r-- 1 www-data www-data 14 Jan 19 22:12 COMMIT_EDITMSG -rw-r--r-- 1 www-data www-data 20 Jan 19 22:43 HEAD drwxr-xr-x 2 www-data www-data 4096 Jan 19 22:10 branches -rw-r--r-- 1 www-data www-data 92 Jan 19 22:10 config -rw-r--r-- 1 www-data www-data 73 Jan 19 22:10 description drwxr-xr-x 2 www-data www-data 4096 Jan 19 22:10 hooks -rw-r--r-- 1 www-data www-data 55115 Jan 19 23:06 index drwxr-xr-x 2 www-data www-data 4096 Jan 19 22:10 info drwxr-xr-x 3 www-data www-data 4096 Jan 19 22:12 logs drwxr-xr-x 234 www-data www-data 4096 Jan 19 22:11 objects drwxr-xr-x 4 www-data www-data 4096 Jan 19 22:10 refs
Viewing 1 replies (of 1 total)