Question
Can I disable PHP functions on a user level?
Answer
When not using PHP-FPM, PHP functions may only be disabled on the system level. They cannot be disabled on a user level. When using PHP-FPM, functions can be disabled per domain with the procedure below.
Procedure
- Access your server using WHM as the root user
- Navigate to "Home / Software / MultiPHP Manager"
- Select the "User Domain Settings" tab
- Choose the "PHP-FPM Settings" button for the domain you wish to alter
- In the "Disabled Functions" text area, fill in the name of the function you wish to disable
- Click "Update" to commit your changes
Comments
0 comments
Article is closed for comments.