Table of Contents
Enable and Disable “Exec” PHP Function
Some OJS, OMP and OPS users who use the Cpanel server for their hosting, must often experience problems when installing plugins. There will be notifications such as (The “exec” PHP Function has been disabled on your server. Contact your system administrator to enable it). However, you don’t need to worry about enabling this configuration, which is very easy, but you need to remember that you must have WHM (Web Host Manager) access to do this.
You need to know that the “exec” configuration function itself aims to provide protection from hackers because if the function is activated it will potentially cause serious damage to the community on your server. If your server has a lot of hosting, then the risk of presence (hackers) can infiltrate and increase the amount of damage that can occur to your Cpanel admin.
The following is a tutorial on Disable and Enable “Exec” PHP in WHM:
How to Enable
- First login to WHM
- Then go to the Software menu
- Click the MultiPHP Manager menu
- Then go to the System PHP-FPM Configuration menu, as shown below:
- In the System PHP-FPM Configuration menu you find the “Disable Function” section, then click the small arrow as shown in the image below.
- When you have clicked the arrow, the section menu will appear as shown below:
Remove “exec” on the menu to activate it.
Then save the configuration
How to Disable
- Repeat the steps as above until the System PHP-FPM Configuration menu, you find the “Disable Functions” menu again, as shown below:
- In the fill section, add the word “exec” then click Add. so as to shown below:
Then save the configuration
Conclusion:
Considering this function is very important as protection from hacker attacks, you can activate this function if you want to install new plugins in OJS, OMP, and OPS, and after the plugins are installed you can deactivate them again. So that the risk of intruders (Hackers) can be minimized.
We provide OJS, OMP and OPS Fix services to see the details, please click here for the following detailed information.
Terima kasih..
sangat bermanfaat..
thank you, an article that helps a lot to those who are not yet familiar with the correct configuration of a server