Skip to main content

Removed open_basedir patch from EasyApache 4 systems

Comments

3 comments

  • cPanelLauren
    Hello, Please see the release notes here: 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. ; 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!
    0
  • Nirjonadda
    You can still employ open_basedir restrictions my modifying the PHP.ini for each php version by going to WHM>>Software>>MultiPHP INI Editor.

    So need uncomment the line? Do not need add any thing after open_basedir = ? Example: ; 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 =
    0
  • cPanelLauren
    HI @Nirjonadda If the line at the bottom of the section with 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
    0

Please sign in to leave a comment.