Closed HakanIST closed 4 years ago
it looks like it can't find a $HOME
directory where it could initialize config files; is the $HOME variable set in this environment? If not, a workaround could be to define one before the command: shell_exec('export HOME=/tmp; wd sparql ./team.rq -j');
.
You can also now update to v7.0.2
where it tries to recover from this missing environment variable by running without persisting the config
Hello, I'm using wikidata-cli inside a php bot. When I execute the php script from shell it works fine, but when I run in on webserver I get the following error. Any suggestions what may be the problem?
function is
shell_exec('wd sparql ./team.rq -j');