I am trying to install APC, I have the following specs:
- Code: Select all
phpinfo()
PHP Version => 5.3.1
System => Linux void64-laptop 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64
on XAMPP for Linux 1.7.3a
I am trying to install APC, when starting XAMPP or running "make test" from the directory I downloaded APC to I get:
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/apc.so' - modules/apc.so: wrong ELF class: ELFCLASS64 in Unknown on line 0
I followed all the steps including
- Code: Select all
phpize
./configure --enable-apc --with-apxs --with-php-config=/opt/lampp/bin/php-config-5.3.1 --with-libdir=/lib64
(also tried without the libdir and other libdirs..)
make
sudo make install
I also tried using pecl install apc-beta
It installed fine but upon starting Lamp same error:
- Code: Select all
Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/apc.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/apc.so: wrong ELF class: ELFCLASS64 in Unknown on line 0
Please assist!!
Thanks!!