samedi 27 août 2016

PHP PHANTOMJS : Error when executing PhantomJs procedure

I'm trying to use PHP Phantom with Laravel project on Ubuntu (php version > 5.5). Followed the installation steps mention here : http://ift.tt/1xQvSFp .

I'm getting the following error :

Error when executing PhantomJs procedure - File does not exist or is not ex

ecutable: bin/phantomjs Even tried to set bin directory using $client->setBinDir('/path/public/bin'). Also tried both absolute and relative path but following error was thrown :

Call to undefined method JonnyW\PhantomJs\Client::setBinDir() Tried everything found over the internet to fix this.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire