can i disable php function for specific directory? -


I want to disable some function for the data.php (../home/file/data.php) directory file Am I it's possible?

Can php.in be used in this directory?

STEP: 1 Open php.ini file: ../ Home / file / php.ini

Step 2: Deactivate_doc and set new list as the following: Disable_functions = exec, passthru, shell_exec, system

STEP: 3 service httpd restart

With the help of the above steps, I can disable all of the above functions. These functions are no longer available on the server.

If I want to enable or disable these functions for specific directories, is it possible or not?


Comments