Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Warning: exec() has been disabled after php 7 update

Discussion in 'EasyApache' started by AlexMadim, Jul 31, 2017.

  1. AlexMadim

    AlexMadim Registered

    Joined:
    Jan 5, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Geneva
    cPanel Access Level:
    Root Administrator
    After i update to php 7 i get " Warning: exec() has been disabled for security reasons in"

    I tryed option in php.ini editor and fail. I tryed everything and i found in forums without success.
    cPanel & WHM 64.0 (build 36)

    Thank you !
     
    #1 AlexMadim, Jul 31, 2017
    Last edited by a moderator: Jul 31, 2017
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,766
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What went wrong, any errors? It should be easy enough to go to:
    WebHost Manager »Software »MultiPHP INI Editor
    Click Editor Mode tab here.
    Select ea_php70.
    Search that file for disable_functions.
    Edit line to remove exec,
    Click save.



    mtiphpedtexec.png
     
  3. AlexMadim

    AlexMadim Registered

    Joined:
    Jan 5, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Geneva
    cPanel Access Level:
    Root Administrator
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,766
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could you please take a screenshot identical to mine above, to show us what you've got exactly?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Is PHP-FPM enabled for this account in "WHM >> MultiPHP Manager"? If so, you can follow the instructions on the following thread to enable the exec function:

    Enabling PHP-FPM forces disable_functions

    Thank you.
     
Loading...

Share This Page