Hello I try to execute this PHP code :
assuming /usr/local/bin/casperjs /scripts/test.js works and exports PHANTOMJS_EXECUTABLE like :
export PHANTOMJS_EXECUTABLE="/usr/local/bin/phantomjs"
echo shell_exec("/usr/local/bin/casperjs /scripts/test.js");
and this is the result :
Fatal: [Errno 2] No such file or directory; did you install phantomjs?
Could someone help me on this issue ?