Xcache installation (Segmentation fault (core dumped)) error

Discussion in 'Apache' started by gopkris2000, May 18, 2010.

  1. #1
    I have installed Xcache in cpanel server which is enabled suphp with php5. xcache.ini shows correct xcache.so file path.

    root@ [~/]# php -v
    PHP 5.2.13 (cli) (built: May 15 2010 01:49:12)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v3.3.14, Copyright (c) 2002-2010, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
    Segmentation fault (core dumped)

    Will php5 version support Xcache ? or need to download php version to 4?

    Is there any problem with Zend Optimizer v3.3.9 latest version?


    Please provide some solution for this error.
     
    gopkris2000, May 18, 2010 IP
  2. crashus

    crashus Active Member

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #2
    try to put your xcache declaration before zend optimizer one and you can also think of installing eaccelerator instead of xcache
     
    crashus, May 18, 2010 IP
  3. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #3
    From what I recall, there is no php caching engine that works with suphp. You need to change your handler to use xcache.
     
    RHS-Chris, May 18, 2010 IP
  4. crashus

    crashus Active Member

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #4
    cPanel offers eaccelerator with suphp so it most-likely can do the trick
     
    crashus, May 19, 2010 IP
  5. gopkris2000

    gopkris2000 Peon

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have already changed php handler for this issue but it does not help. There is no core dump error when I was disabled Zend Optimizer in my server.
     
    gopkris2000, May 19, 2010 IP
  6. crashus

    crashus Active Member

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #6
    so what about my solution?
     
    crashus, May 19, 2010 IP
  7. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #7
    eAccelerator is incompatible with suPHP.
     
    zacharooni, May 20, 2010 IP
  8. crashus

    crashus Active Member

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #8
    I believe they can work together:

    [root@server1 ~]# php -i|grep "Server API"
    <tr><td class="e">Server API </td><td class="v">CGI </td></tr>
    [root@server1 ~]# php -v
    PHP 5.2.13 (cgi) (built: Apr 1 2010 19:46:41)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with eAccelerator v0.9.6, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v3.3.10, Copyright (c) 2002-2009, by ionCube Ltd., and
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
    with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH
    with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
     
    crashus, May 20, 2010 IP
  9. gopkris2000

    gopkris2000 Peon

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yes... Thanks for every one to take look this issue... It has been working while I use eAccelerator.
     
    gopkris2000, May 22, 2010 IP