PHP shell_exec()不起作用

时间:2014-08-11 12:05:01

标签: php centos6 shell-exec

我倾向于使用我在vps服务器上安装的程序之一

我制作的脚本在我的本地主机上完美运行,但它不适用于vps。

这是我试过的

$r = shell_exec('wkhtmltopdf http://monsite.ma/generate/15 /var/www/vhosts/monsite.ma/qr-u15.pdf');
// $r contain a null variable

完整路径命令也无效。

我的vps上也安装了带有php5.5的centos6.5。

和我的localhost上带有php5.5的Windows7

0 个答案:

没有答案