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.

Cannot Access Xcache Admin Using Username/Password

Discussion in 'General Discussion' started by JarretC, Apr 15, 2012.

  1. JarretC

    JarretC Registered

    Joined:
    Apr 15, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    OS: CentOS 5.8
    Apache: 2.2.22

    Installed Xcache using EasyApache install script. Updated user/pass inside of /usr/local/lib/php.ini with username and md5 hash of password.

    /usr/local/lib/php.ini is showing the following settings for Xcache (currently disabled)

    Code:
    extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
    zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.3.so"
    extension="xcache.so"
    xcache.admin.enable_auth="on"
    xcache.admin.user="jarret"
    xcache.admin.pass="md5password"
    xcache.cacher="On"
    xcache.coredump_directory=""
    xcache.count="1"
    xcache.coveragedump_directory="/tmp/pcov/"
    xcache.coverager="Off"
    xcache.gc_interval="0"
    xcache.mmap_path="/dev/zero"
    xcache.optimizer="Off"
    xcache.readonly_protection="Off"
    xcache.size="0"
    xcache.slots="8K"
    xcache.test="Off"
    xcache.ttl="0"
    xcache.var_count="1"
    xcache.var_gc_interval="300"
    xcache.var_maxttl="0"
    xcache.var_size="0"
    xcache.var_slots="8K"
    xcache.var_ttl="0"
    Moved /home/cpeasyapache/src/xcache/xcache-1.3.2/admin over to /home/foldername/public_html/xcache

    Added config.php into admin folder with user/pass set under $_SERVER["PHP_AUTH_USER"] and $_SERVER["PHP_AUTH_PW"]. Accessed URL and received login prompt and after entering credentials multiple times still cannot log in.

    I've been searching around for answers and have come to the end of finding possible fixes. I tried setting zend_extension in php.ini over to /usr/local/lib/php/extensions/no-debug-non-zts-20090626/xcache.so ( locate xcache.so from SSH ) and after reboot when doing php -v in SSH to check I get a "Segmentation fault (core dumped)" error.

    Current php -v shows:

    PHP 5.3.10 (cli) (built: Apr 5 2012 02:58:30)
    Copyright (c) 1997-2012 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies

    From all of my reading Xcache should be showing up in there. phpinfo() is showing the following for Xcache settings:

    xcache-phpinfo.png

    Any ideas? Would like to be able to get the admin working and get Xcache up and running.
     
  2. jpearl

    jpearl Member

    Joined:
    Oct 28, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    AZ
    cPanel Access Level:
    Root Administrator
    I suggest changing the cache size from 0 to like 32M

    I cant get mine to work either by installing the same exact way.
     
Loading...

Share This Page