Anyone successfully used jonnyw's “php phantomjs” with laravel, in a ubuntu envirement?

半世苍凉 提交于 2019-12-10 18:05:01

问题


Anyone sucessfully used jonnyw's "php phantomjs" with laravel, in a ubuntu envirement?

I do not know if I am doing anything wrong, but I am questioning if it would be possible that it is not possible to use it with laravel in linux...

I get all the time :

"Error when executing PhantomJs procedure "default" - File does not exist or is not executable: bin/phantomjs"

But I tried a lot of ways and many ways, but still didn't make it work...(I am "almost" "sure", that the file is in the right place and the path is right also ), and the bin folder is 777 in permissions... :P Thanks in advance.


回答1:


Yep, but it's a pain.

Most of the time it's because you have to use the full path to the phantomjs executable.

Also, make sure phantomjs is properly installed on your server too, like, does it work if you just run the phantomjs command in a terminal?



来源:https://stackoverflow.com/questions/30766018/anyone-successfully-used-jonnyws-php-phantomjs-with-laravel-in-a-ubuntu-envi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!