Hello i'm having some troubles with phantomjs. Im trying execute a simple statement but im getting the same error over and over.
exec('../bin/phantomjs --version', $o, $r);
var_dump($r);
print_r($o);
im getting this:
int(2) Array ( [0] => ../bin/phantomjs: 1: ../bin/phantomjs: Syntax error: Unterminated quoted string )
What gives? Im on a mac and phantomjs have 777 rights.