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!

Removed open_basedir patch from EasyApache 4 systems

Discussion in 'EasyApache' started by Nirjonadda, Oct 19, 2018.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    641
    Likes Received:
    16
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    cPanel Removed open_basedir patch from EasyApache 4 systems from version 76, So now what is Requirements for this Security?

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,815
    Likes Received:
    443
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    Please see the release notes here:
    76 Release Notes - Version 76 Documentation - cPanel Documentation

    Removed open_basedir patch from EasyApache 4 systems
    WHM's PHP open_basedir Tweak interface (WHM >> Home >> Security Center >> PHP open_basedir Tweak) now only appears on systems that run EasyApache 3. This interface did not update the settings on systems that run EasyApache 4.

    This really doesn't change much for EasyApache 4 systems, it just removes a duplicated UI. You can still employ open_basedir restrictions my modifying the PHP.ini for each php version by going to WHM>>Software>>MultiPHP INI Editor.

    Code:
    ; open_basedir, if set, limits all file operations to the defined directory
    ; and below.  This directive makes most sense if used in a per-directory
    ; or per-virtualhost web server configuration file.
    ; http://php.net/open-basedir
    ;open_basedir =
    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    641
    Likes Received:
    16
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    So need uncomment the line? Do not need add any thing after open_basedir = ?

    Example:

    Code:
    ; open_basedir, if set, limits all file operations to the defined directory
    ; and below.  This directive makes most sense if used in a per-directory
    ; or per-virtualhost web server configuration file.
    ; http://php.net/open-basedir
    open_basedir =
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,815
    Likes Received:
    443
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @Nirjonadda


    If the line at the bottom of the section with
    Code:
    open_basedir =
    is commented out then yes you would uncomment

    For information on what should be included in the string, I would suggest reading the php documentation which it explains it's use
    PHP: Description of core php.ini directives - Manual
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice