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.

EasyApache Hooks

Discussion in 'cPanel Developers' started by VeZoZ, Oct 8, 2009.

  1. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Is there anywhere with more documentation about the hooks? I used a pdf document from one of the conferences to get these:

    /scripts/preeasyapache
    /scripts/posteasyapache
    /scripts/before_apache_make
    /scripts/after_apache_make_install
    /scripts/before_httpd_restart_tests
    /scripts/after_restart_tests


    Are there ones for the PHP portion of it? What I want to do is have cPanel build it's PHP for system and Apache then also build another SAPI for something else. I'm just not sure if any of those hooks is where it should be done or if there is ones specific to the PHP building portion.
     
  2. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    4
    Trophy Points:
    18
  3. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    What you gave was pretty helpful although all the hooks seemed to be linked up with Apache even though EasyApache does more than just Apache. I'm using the hook scripts to build other SAPI's so building straight after PHP SAPI's for cPanel's end are done. I'm using /scripts/before_httpd_restart_test right now as it appears to be right after the builds.

    It might be useful though to clear up what all is going on. So break down what is going on before and after each of the hooks. So /scripts/before_httpd_restart_test before it PHP's are building and after it httpd restart tests.
     
    #3 VeZoZ, Jan 16, 2010
    Last edited: Jan 16, 2010
Loading...

Share This Page