Answer the question
In order to leave comments, you need to log in
How to properly connect PhantomJS?
I do everything according to the instructions, jonnnnyw.github.io/php-phantomjs/4.0/2-installation
PHP code looks like this
require '/var/www/html/vendor/autoload.php';
use JonnyW\PhantomJs\Client;
$client = Client::getInstance();
Warning: Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load() should be compatible with Symfony\Component\DependencyInjection\Container::load($file) in /var/www/html/vendor/jonnyw/php-phantomjs/ src/JonnyW/PhantomJs/DependencyInjection/ServiceContainer.php on line 20
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question