我正在做一个项目,我想一起使用PHP和Phantomjs,我已经完成了我的幻影to脚本,并试图使用php exec函数来运行它。但是函数正在返回一个错误列表数组。下面我正在编写幻影和php代码。
dir: /var/www/html/幻影/index.js
var page = require('webpage').create();
var fs = require('fs');
page.open('http://insttaorder.com/', function(status) {
// Get all links to CS