Disable php functions via .htaccess

后端 未结 4 975
北荒
北荒 2020-12-21 16:28

I want to disable few php functions only in a specific folder, I thought of using htaccess:

For example I have tried adding this line:

php_admin_value disab

4条回答
  •  抹茶落季
    2020-12-21 17:05

    Propably the HTTP Status code 500 comes from wrong .htaccess file.

    You can rename the .htaccess file to something else for a while to check if the problem comes from there. If so you can then paste the .htaccess code here to give you the solutions.

提交回复
热议问题