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!

Additional patches to SuPHP in EasyAPache

Discussion in 'EasyApache' started by abrender, Jul 3, 2011.

  1. abrender

    abrender Active Member

    Joined:
    Dec 5, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    We have a custom patch to suPHP that we'd like to be applied on each build of EasyApache. I see that the list of patches is in /var/cpanel/perl/easy/Cpanel/Easy/Apache/PHPAsUser.pm

    I've added my patch to the end of the patch list however EasyApache constantly overwrites that file with the latest from CPANEL. I have to set the file to immutable to ensure that my changes are kept.

    I was hoping that there would be a way in the future that we can indicate what custom patch files we'd like to apply to suPHP in addition to the ones that cpanel provides.

    Thanks & all the best,
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Rather than marking the file as immutable, you should create a Custom Opt Mod that integrates this patch for you. Example Custom Opt Mods can be found at EasyApache Custom Modules.
     
    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