eaccelerator problem

Discussion in 'Install/Configuration' started by TheMask, Mar 14, 2012.

  1. TheMask

    TheMask New Member

    # /usr/local/lsws/fcgi-bin/lsphp5 -v

    PHP Warning: PHP Startup: Unable to load dynamic library './/usr/local/lib/eaccelerator.so' - .//usr/local/lib/eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0PHP 5.2.17 (litespeed) (built: Mar 14 2012 14:17:24)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.0.8, Copyright (c) 2002-2011, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies


    but i know eaccelerator.so located in /usr/local/lib/eaccelerator.so

    how can i solve that problem?
  2. webizen

    webizen New Member

    note that it complains './/usr/local/lib/eaccelerator.so' can not be found. check php.ini used by lsws (do something like '/usr/local/lsws/fcgi-bin/lsphp5 -i| grep php.ini') and look for 'extension_dir'. likely it is 'extension_dir = ./ '. just remove './'.

Share This Page