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.

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:
    6
    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,458
    Likes Received:
    22
    Trophy Points:
    38
    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.
     

Share This Page