Allowing PHP exec() function
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Hostking
  2. 18.09.2013
  3.  Subscribe via email
Allowing PHP exec() function
Rate this post:
  1. 18.09.2013 09:09:09
  2. # 1
Hostking Accepted Answer
Posts: 38
Joined: 07.11.2012
Hi all,

What is the best software to allow to use exec() function for example?

Does CageFS protect client\'s website well enough to allow such a function in PHP?

Any other options?
  1. 27.04.2018 03:04:20
  2. # 2
Attachments (1)
  1. 27.04.2018 15:04:54
  2. # 3
Posts: 186
Joined: 31.01.2017
It is safe to enable it as long as CageFS is activated

By-default there is no disabled functions in php-selector ini's. If the are, there is an option to replace global disable_functions per user with custom value:
--add-options (-k)
--replace-options (-m)

keys of selectorctl.

For example:
selectorctl --add-options=disable_functions: --user=user --version=5.6

However, this will not work if you have disable_functions added to global ini ( ), since global ini values force-replace everything.

You can check our docs about selectorctl here:
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Mahamudo Justino Quitine
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.