Skip to main content

suPHP, open_basedir, and Multi PHP via EA4...together for improved security

Comments

5 comments

  • bgarrant
    It may also be a good idea to comment out the open_basedir value in your global php.ini file while using this method.
    ; open_basedir = "/usr/lib/php:/usr/local/lib/php:/tmp"
    0
  • bgarrant
    Been using this method several days now with no issues. Even had a cPanel update in that time.
    0
  • cPanelMichael
    Been using this method several days now with no issues. Even had a cPanel update in that time.

    Hello, I'm happy to see this custom workaround is working as intended. Thank you for updating us with the outcome. Note that you can run "yum update" when new packages are available for EasyApache 4 if you have automatic package updates disabled. Thank you.
    0
  • bgarrant
    Hello, I'm happy to see this custom workaround is working as intended. Thank you for updating us with the outcome. Note that you can run "yum update" when new packages are available for EasyApache 4 if you have automatic package updates disabled. Thank you.

    This method has been working great. No issues and security is working well. Thanks Michael.
    0
  • Mike Mannakee
    Thanks for this. I just moved to a new box without EA3 anymore; I had to start using EA4. Lots of changes to digest, and this walked me through one of the areas I needed. Brilliant, and still works almost a year later. Well done.
    0

Please sign in to leave a comment.