LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   eaccelerator problem (http://www.litespeedtech.com/support/forum/showthread.php?t=5769)

TheMask 03-14-2012 05:40 AM

eaccelerator problem
 
# /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?

webizen 03-14-2012 10:41 AM

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 './'.


All times are GMT -7. The time now is 01:51 AM.