Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2005
    Posts
    232

    PHP Warning: Cannot load module 'XCache' because conflicting module 'eAccelerator'

    any one knows how to edit php.ini in cpanel to remove Xcache,please?


    just move from Softlayer to securedservers, i found securedservers not good, no support,

  2. #2
    Join Date
    Nov 2009
    Location
    Singapore
    Posts
    55
    Default location of php.ini on cPanel servers is /usr/local/lib/php.ini
    You need to edit it through SSH using a text editor like vi or nano

  3. #3
    Join Date
    May 2012
    Location
    Earth --An Awesome Planet
    Posts
    43
    Hi,

    Yes... Basically to speed your site we do make use of EAccelerator or Xcache , they are generally Apache Caching Module.

    whenever, you are using SUPHP Handler for php, for having moderate and quite faster access we do have the caching module.

    At a time, you can have Xcache enabled or EAccelerator (ZendOptimizer is also one that you can have). since both are powerful caching module, enabling both at a time will surely create a conflict.

    Edit yoru php.ini file under /usr/local/lib/php.ini
    and make a comment ( or remove the line where there is caching module parameter is set.

    I hope this helps

  4. #4
    Join Date
    Sep 2007
    Posts
    357
    find php.ini
    Code:
    find / -name php.ini
    or
    Code:
    locate php.ini
    or
    Code:
    whereis php.ini
    so then edit id.. vi /path-to-php.ini

  5. #5
    Join Date
    Apr 2005
    Posts
    232
    thank you guys, i will try later

  6. #6
    Join Date
    Feb 2004
    Posts
    768
    Don't forget to change this in EasyApache too so that the next time you make a build that module doesn't get re-introduced and cause errors.
    linveo.com | Shared Hosting | AMD and Intel KVM VPS | Dedicated Servers
    Direct Admin | VirtFusion | TenantOS | 24/7/365 Support

  7. #7
    Join Date
    May 2009
    Location
    SLASH ROOT
    Posts
    867
    The best way to do that is to create a PHP info page for your website and check the loaded php.ini file. Then edit and disable xcache.
    █ WebHostRepo.com
    █ Linux | Windows
    | VPS | Cloud
    █ Outsourced Technical Support since 2009
    █ sales@webhostrepo.com

Similar Threads

  1. eAccelerator, xCache, MySQL, PHP, etc.
    By jauburn in forum Dedicated Server
    Replies: 10
    Last Post: 03-06-2013, 02:06 PM
  2. PHP Warning: Module 'mcrypt' / mod_fcgid
    By anthonyinit in forum VPS Hosting
    Replies: 29
    Last Post: 06-24-2012, 06:58 PM
  3. Replies: 1
    Last Post: 01-16-2012, 02:37 PM
  4. Replies: 1
    Last Post: 11-06-2011, 03:26 AM
  5. PHP as Apache module vs. PHP as CGI module
    By DeNasio in forum Hosting Security and Technology
    Replies: 5
    Last Post: 11-20-2007, 06:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •