I want to execute PhantomJS from PHP on localhost.
Can any body explain how to execute PhantomJS from PHP and what package I should download from phantomjs.org?
chmod +x
$response = exec('/path/to/phantomjs myscript.js');
1.4m articles
1.4m replys
5 comments
57.0k users