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!

All server with {PHP Fatal error: PHP Startup: apc_mmap: mmap failed}

Discussion in 'Workarounds and Optimization' started by 000, Mar 28, 2012.

  1. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    66
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you using FCGI + Apache + Litespeed / something besides Apache on the machine? Please provide the following:

    Code:
    /usr/local/cpanel/bin/rebuild_phpconf --current
    /usr/local/apache/bin/apachectl -v
    lsof -ni :80 -ni :8080 -ni :1080
    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    66
    Thanks.

    Code:
    root@r [~]# /usr/local/cpanel/bin/rebuild_phpconf --current
    Available handlers: suphp dso fcgi cgi none
    DEFAULT PHP: 5
    PHP4 SAPI: suphp
    PHP5 SAPI: suphp
    SUEXEC: enabled
    root@r [~]#
    
    Code:
    root@r [~]# /usr/local/apache/bin/apachectl -v
    Server version: Apache/2.2.22 (Unix)
    Server built:   Mar 16 2012 06:48:11
    Cpanel::Easy::Apache v3.10.2 rev9999
    root@r [~]#
    Code:
    root@r [~]# lsof -ni :80 -ni :8080 -ni :1080
    COMMAND   PID   USER   FD   TYPE    DEVICE SIZE/OFF NODE NAME
    httpd    1481 nobody    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    httpd    1518 nobody    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    httpd    1574 nobody    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    httpd    1723 nobody    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    httpd    1723 nobody  178u  IPv4 181489410      0t0  TCP IP-SERVER:http->IP-SERVER:38561 (ESTABLISHED)
    httpd    1724 nobody    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    httpd    1725 nobody    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    httpd    1741 nobody    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    httpd    1746 nobody    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    java    14055   root   38u  IPv6 105246527      0t0  TCP *:webcache (LISTEN)
    httpd   30207   root    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    httpd   31849 nobody    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    httpd   32410 nobody    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    httpd   32410 nobody  178u  IPv4 181492717      0t0  TCP IP-SERVER:http->MY-IP-LOCATION:60365 (ESTABLISHED)
    httpd   32470   root    3u  IPv4 143428077      0t0  TCP *:http (LISTEN)
    root@r [~]#
     
  4. Juan Perez

    Juan Perez Registered

    Joined:
    Dec 21, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello,

    I have the same issue, installed the APC module from the pecl installer in whm, could anyone help?

    Thanks
     
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