Warning: shell_exec() has been disabled for security reasons - already removed from php.ini

岁酱吖の 提交于 2020-01-06 04:53:22

问题


I removed shell_exec from the disable_functions section in my php.ini script, and then proceeded to restart apache. But error as shown as the title still persists.

Anyone have any idea what causing this?


回答1:


Just wanted to confirm that Raptor helped answer my question.

Doing a phpinfo() printout I found that the disable_functions section still had the shell_exec issue there.

The problem was I had a server management software that required that I edit files from there and no the system directly. So adding back the clause and removing it helped to solve the issue. (To sync up the changes from the management system and the server system).



来源:https://stackoverflow.com/questions/50812380/warning-shell-exec-has-been-disabled-for-security-reasons-already-removed-f

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!