凌的博客

您现在的位置是: 首页 > 学无止境 > PHP > 

PHP

php 执行exec程序

2016-12-30 PHP 789
exec("phantomjs --version", $o, $e); echo $e;//返回127 //最近使用这个程序 在有的服务器上 php无法执行 phantomjs //原来必须 使用 /绝对路径/phantomjs //127 表示找不到执行的文件
exec("phantomjs --version", $o, $e);
echo $e;//返回127


//最近使用这个程序 在有的服务器上  php无法执行 phantomjs

//原来必须 使用 /绝对路径/phantomjs  

//127 表示找不到执行的文件

文章评论

0条评论