I'm trying to execute phantomjs, using php-phantomjs. But this
$client->getEngine()->debug(true); $client->getLog();
gives me "/usr/bin/env node no such file or directory". What I'm I getting wrong here?
It was the trailing slash of the url, which caused that error. So this was a php-phantomjs an not phantomjs-prebuilt issue. You can read more about this issue here.
I'm trying to execute phantomjs, using php-phantomjs. But this
$client->getEngine()->debug(true); $client->getLog();
gives me "/usr/bin/env node no such file or directory". What I'm I getting wrong here?