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 disable_functions "system, etc.."
However it doesn't work, I just get 500 error, if you know how to make it work, please share.
Appreciate any help on this subject.
-- EDIT --
I have turned on my litespeed and now there are no more errors, but system() is still allowed, I want to turn it off for my server's home folder.
Any solutions ?