php 执行Linux命令

比较常用的有exec()、system()等;

第一步确认你的配置是不是符合的:

php.ini 中:

1、 disable_functions = 后面是不是你要运行的函数在里面,在的情况下删去

2、display_errors = On

重启你的php、服务器

进行测试!

猜你喜欢

转载自blog.csdn.net/wqzbxh/article/details/83374959