I'm running XAMPP 1.5.4a on CentOS 4.4.
I tried to turn on the eaccelerator by removing ';' from the eaccelerator part of php.ini.
But XAMPP returned the following warning message:
Starting XAMPP for Linux 1.5.4a...
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP for Linux started.
I checked whether .../no-debug-non-zts-20050922 contained eaccelerator.so and found that there was no eaccelerator.
So I downloaded the development package of XAMPP and the src of latest eaccelerator (ver. 0.95) and compiled it.
And then I installed the eaccelerator.so to .../no-debug-non-zts-20050922 and start XAMPP again.
But it still returned the same warning:
Starting XAMPP for Linux 1.5.4a...
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP for Linux started.
I thought this was the library problem so I added this directory to $LD_LIBRARY_PATH and /etc/ld.so.conf and restart lampp, but it returned the same warning.
I also tried to install ZendOptimizer to XAMPP, but almost the same warning was returned:
Starting XAMPP for Linux 1.5.4a...
Failed loading /opt/lampp/zend/lib/ZendExtensionManager.so: /opt/lampp/zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20050922/eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP for Linux started.
Does anyone have any idea to solve this problem?
Thanks in advance.