Jump to content

Disable PHP Functions Via htaccess?


Recommended Posts

You should not need a directory path.  Now...  it's important to remember...  this call cannot REMOVE a value that is disabled at the server level.  For example....

If the server disables module1, module2, and module3...  You cannot use a custom value of just module1, module2 so that module3 is enabled.  module3 would remain disabled.  The directive is designed to ADD additional modules to the deny list, not remove them from it.  🙂

Link to comment
Share on other sites

6 hours ago, Randy Calvert said:

You should not need a directory path.  Now...  it's important to remember...  this call cannot REMOVE a value that is disabled at the server level.  For example....

If the server disables module1, module2, and module3...  You cannot use a custom value of just module1, module2 so that module3 is enabled.  module3 would remain disabled.  The directive is designed to ADD additional modules to the deny list, not remove them from it.  🙂

Im sorry im very ignorant when you use all these smart words. I just don't understand haha. 

I am using the .htaccess file invision provided for friendly urls.

So does this look correct?
 

php_value disable_functions exec,passthru,shell_exec,system

i seem to still have the errors in my admin panel 😪

spacer.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...