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.

Using --enable-fpm flag produces multiple sapi errors in easyapache

Discussion in 'Workarounds and Optimization' started by hkaba, Jan 15, 2011.

  1. hkaba

    hkaba Registered

    Joined:
    Nov 25, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I am trying to compile php-fpm with easy apache.

    I have added the --enable-fpm flag in rawopts/all_php5.

    This gives me an error about multiple sapis being chosen.. So what do I need to disable in easyapache so it does not give me this error? i have tried to deselect suphp/fcgid or anything else related that i think might be related to it.

    If I try to compile it manually and do not include the line '--with-apxs2=/usr/local/apache/bin/apxs' I am able to compile it. However I do not know how to remove that line in easyapache.

    I have tried putting in --disable-apxs2=/usr/local/apache/bin/apxs --without-apxs2 etc.. in rawopts/all_php5 but it still resulting in it trying to be installed and get the same error.

    Anyone know the correct way to do this?

    thanks!
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    What is the exact message being displayed that references "multiple SAPIs"?

    Have you seen the related feature request? Please take a moment to review the following feature request thread: FastCGI Process Manager (FPM) SAPI (new in PHP 5.3.3)

    I believe the following PHP bug report may also be related, as discussed in the feature request thread: PHP :: Bug #52419 :: Unable to compile PHP with both Apache2 and FPM support
     
    #2 cPanelDon, Jan 18, 2011
    Last edited: Jan 18, 2011
  3. tcflying

    tcflying Member

    Joined:
    May 27, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    so , what can we do now ? dear don?
     
Loading...

Share This Page