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

1.7k Views Asked by At

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

There are 1 best solutions below

2
On BEST ANSWER

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?