Error when executing PhantomJs procedure - File does not exist or is not executable in centos 7 and this the php Code
require 'vendor/autoload.php';
use JonnyW\PhantomJs\Client;
$client = Client::getInstance();
$client->getEngine()->setPath('bin/phantomjs');
$request = $client->getMessageFactory()->createRequest();
$response = $client->getMessageFactory()->createResponse();
$request->setMethod('GET');
$request->setUrl('https://www.google.com');
$client->send($request, $response);
if($response->getStatus() === 200) {
echo $response->getContent();
}