I am trying to setup Phantomjs on my Server and my hosts have installed the binary at "/usr/bin/phantomjs "
reading the documentation from http://jonnnnyw.github.io/php-phantomjs/ i have tried the following
$client->getEngine()->setPath('\usr\bin\phantomjs');
$client = Client::getInstance();
but i get the error : Call to a member function getEngine() on a non-object in
anyone able to assist with the setup?