PHP解决shell_exec has been disabled for security reasons
生活随笔
收集整理的這篇文章主要介紹了
PHP解决shell_exec has been disabled for security reasons
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
打開php.ini,搜索disable_functions,代碼如下:
disable_functions = scandir,passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status, ini_alter,ini_alter,ini_restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru, stream_socket_server,fsocket,fsockopen把shell_exec刪除即可,保存。
再重新運行指令試試。如果不行照著上面的方法再試一次
總結
以上是生活随笔為你收集整理的PHP解决shell_exec has been disabled for security reasons的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 租房遇到二房东不退押金怎么办?
- 下一篇: 家居东北角有什么讲究?