任何人都可以成功使用jonnyw的"php phantomjs"在ubuntu环境中使用laravel? [英] Anyone successfully used jonnyw's "php phantomjs" with laravel, in a ubuntu envirement?

查看:104
本文介绍了任何人都可以成功使用jonnyw的"php phantomjs"在ubuntu环境中使用laravel?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Ubuntu环境中,有人成功地将larny的jonnyw的"php phantomjs"与laravel一起使用了吗?

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

我不知道我做错了什么,但我在质疑是否有可能无法在laravel中将其与linux一起使用...

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...

我一直都有:

执行PhantomJs过程默认"时出错-文件不存在或不可执行:bin/phantomjs"

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

但是我尝试了很多方法,但是仍然没有使它起作用……(我几乎"确定",文件在正确的位置,路径也在正确的位置) ,并且bin文件夹的权限为777 ...:P 预先感谢.

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.

推荐答案

是的,但这很痛苦.

大多数时候是因为您必须使用phantomjs可执行文件的完整路径.

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

还要确保phantomjs也正确安装在服务器上,例如,如果仅在终端中运行phantomjs命令,它是否可以工作?

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?

这篇关于任何人都可以成功使用jonnyw的"php phantomjs"在ubuntu环境中使用laravel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆