LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > error

Reply
 
Thread Tools Display Modes
  #1  
Old 06-28-2011, 11:56 AM
LSError LSError is offline
New Member
 
Join Date: Jun 2011
Posts: 3
Exclamation error

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?
Reply With Quote
  #2  
Old 06-28-2011, 12:17 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
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.
Reply With Quote
  #3  
Old 06-28-2011, 03:29 PM
LSError LSError is offline
New Member
 
Join Date: Jun 2011
Posts: 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?
Reply With Quote
  #4  
Old 06-28-2011, 03:41 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
To build lsphp, go through LSWS Admin Console -> Actions -> Compile PHP.

Detailed instructions and troubleshooting guide are as follows:
http://www.litespeedtech.com/support...wiki:php:lsapi
http://www.litespeedtech.com/support...i:troubleshoot
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.