I am writing a php script that makes use of openALPR installed on my linux computer.
When I type "alpr --version" in the terminal, I get this output
alpr version: 2.2.4
But then when I do this in my php script, I get an empty array result. But any other command works just fine.
Here is my code snippet
$command = 'alpr --version ';
$result = array();
exec($command, $result);
var_dump($result);
I will appreciate any help