Enabling Shell Exec ()
I am trying to enable Shell Exec () for software that I am using on my site but when I go to the PHP.ini file in WHM or through cPanel I don't find it by the disable_functions section where its supposed to be, how can I enable this option ? either through CLI or WHM/cPanel ?
-
Assuming that you don't have access to WHM and just have a hosting account, this is likely disabled by your host at the server level as it can pose a security issue, in which case you won't be able to enable it yourself and will need to speak to them about it 0 -
Assuming that you don't have access to WHM and just have a hosting account, this is likely disabled by your host at the server level as it can pose a security issue, in which case you won't be able to enable it yourself and will need to speak to them about it
if i have access to whm and want to active only for one account, what sholud i do? i am using cloudlinux 6 and whm 98.0.8 sorry @joshreynolds2 because comment here0 -
I am trying to enable Shell Exec () for software that I am using on my site but when I go to the PHP.ini file in WHM or through cPanel I don't find it by the disable_functions section where its supposed to be, how can I enable this option ? either through CLI or WHM/cPanel ?
Go to WHM -> Software -> MultiPHP INI Editor, there select Editor Mode, then select PHP version you want to change, it opens the config file for that version, then find the disable_functions line, remove shell_exec from that line and click Save.0 -
I do have access, I am running my own server. but in the php.ini settings on line 304 theres nothing just the disable functions, but nothing next to it. Assuming that you don't have access to WHM and just have a hosting account, this is likely disabled by your host at the server level as it can pose a security issue, in which case you won't be able to enable it yourself and will need to speak to them about it
0 -
Unfortunately its not located there somehow. Ill post a screen shot. Go to WHM -> Software -> MultiPHP INI Editor, there select Editor Mode, then select PHP version you want to change, it opens the config file for that version, then find the disable_functions line, remove shell_exec from that line and click Save.
0 -
Maybe this will help you:
-3 -
How do you enable this? The post that says maybe this will help you is empty.
0 -
zeki - I've updated that post to have the missing link!
0
Please sign in to leave a comment.
Comments
9 comments