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
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.