<?php putenv("PHANTOMJS_EXECUTABLE=/usr/local/bin/phantomjs"); putenv("DYLD_LIBRARY_PATH"); $outputArray = []; $outputArray = exec('phantomjs --version'); echo $outputArray;
You have javascript disabled. You will not be able to edit any code.