The good old PhantomJS times are over. The project is not maintained anymore and it is recommended to switch over to Chrome headless. Just run a local Selenium standalone server:
$ java -jar Sites/selenium-server-standalone-3.4.0.jar
and run a test with the config below. This is tested with Mac OS X and Windows 10. If you have more questions, join our for support.
https://developers.google.com/web/updates/2017/04/headless-chrome
"Headless Chrome is shipping in Chrome 59. It's a way to run the Chrome browser in a ..."