error

#1
Code:
2011-06-28 22:49:57.340 [STDERR] [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.3.4. Rebuild it for your PHP version (5.3.6) or download precompiled binaries.
Code:
php -v
PHP 5.3.4 (cli) (built: Jan 19 2011 01:51:26)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
im confused?
 

webizen

Well-Known Member
#2
the STDERR is for LSPHP5 (/usr/local/lsws/fcgi-bin/lsphp5). the one for 'php -v' is native php (/usr/bin/php or /usr/local/bin/php). they are different unless you build matching PHP in LSWS.
 
#3
ok i did the lsphp -v and -i and its php 5.3.6 and i download the eacc source and did the install and it still gives error?

Code:
ls -la /usr/local/lib/php/extensions/no-debug-non-zts-20090626
total 1092
drwxr-xr-x 2 root root   4096 Jun 28 23:16 .
drwxr-xr-x 4 root root   4096 Jan 19 01:32 ..
-rwxr-xr-x 1 root root 354181 Jun 28 23:16 eaccelerator.so
-rw-r--r-- 1 root root 192453 Feb  2 21:53 memcache.so
-rwxr-xr-x 1 root root 546994 Jan 20 06:36 suhosin.so

edit: oh... its building eac based on the php -v i get it now... how do i get it to build for lsphp? download latest php source and reinstall?
 
Top