Memcached - Prestashop

shupi

Verified User
Joined
Feb 4, 2015
Messages
5
Hi there.

I'm currently looking at enable Memcached Extension to works with Prestashop.

i take a looks at some posts here and elsewhere but i didn't managed to make it works correctly.

What i have done :

Code:
yum install memcached

yum install libmemcached\*

when i do

pecl install memcached

i Got this error :

checking for libmemcached location... configure: error: Unable to find memcached.h under /usr/include/libmemcached/
ERROR: `/tmp/pear/temp/memcached/configure --with-libmemcached-dir=/usr/include/libmemcached/' failed

And when i try to see if memcached is running :

memcached -d -p 11211 -u memcached -m 64 -c 1024 -P /var/run/memcached/memcached.pid

i've also added this in /usr/local/lib/php.ini

Code:
extension_dir = "/usr/local/php5/lib/php/extensions/no-debug-non-zts-20100525/";
extension=memcached.so

So my guess is memcached is installed but not properly configured to works with php.

Any help & idea will be appreciated i'm not a crack on linux.

Thanks.
 
Back
Top