Enable exec function

后端 未结 2 1218
没有蜡笔的小新
没有蜡笔的小新 2021-01-14 12:27

I have a website on a shared server (apache), one of my scripts needs the exec function to work, but my web host seems to have disabled it..is there any way to enable it thr

相关标签:
2条回答
  • 2021-01-14 13:18

    No, there isn't. That is a php internal setting, whilst .htaccess only deals with apache internal request handling.

    And by the way: since this is apparently a hosted site you are using: there are very good reasons to disable that feature. It would be a massive security problem for a web space hoster.

    0 讨论(0)
  • 2021-01-14 13:29

    No. disable_functions directive is only available in php.ini for security reasons. See the documentation here, column "Changeable".

    0 讨论(0)
提交回复
热议问题