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.

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:
    150
    Likes Received:
    0
    Trophy Points:
    16
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    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!
     
  3. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    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