shell_exec not working.


We are using the following.

Cyberpanel + lightspeed

Currently, the info file has the following.
disable_functions show_source, system show_source, system
Still we are unable to execute the script via php.

When used in commandline, it works. (root). But not working when switched to the user account or called via browser.


Any update on this? Plugins which needs php exec does not work with Cyber Panel.
Way to overcome this?

DISCLAIMER: This may open security issues to your server, so really make sure you need that function.
If you only use it for your own website then should be fine.

Go to:
And remove shell_exec from the disabled_functions

Adjust 7.4 with the version you are editing.