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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [Solved] compiling PHP and including memcache

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-11-2013, 07:28 AM
joek168 joek168 is offline
Member
 
Join Date: Jan 2009
Posts: 19
Default [Solved] compiling PHP and including memcache

Hello,

Using the LS admin panel, I compiled php5.4.11. I checked the box to include the memcache extension.

It compiled but appears to have compiled using the wrong version of PHP. I get the following error:

[STDERR] PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match

So I manually downloaded and phpized/config/install and get the same type error.

I then used /opt/lsws/lsphp5/bin/phpize and it showed the correct version that matched the output of php_info().

config/install (i manually copied the file this time to the ext dir listed in the php_info() output) and graceful restart of the server.

Still get the same sort of error:

[STDERR] PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20050922
PHP compiled with module API=20100525
These options need to match

Where is the phpize that I should use to get the correct version (I installed LS with default options)?

I appreciate any help.
Reply With Quote
 

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 12:58 AM.



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