Php from source & memcached

I’ll add memcached to my php. I build it with:

./configure --with-apxs2=/usr/bin/apxs --with-zlib --enable-mbstring --with-curl --with-openssl --with-xmlrpc --enable-soap --enable-zip --with-gd --with-jpeg-dir --with-png-dir --with-mysql --with-pgsql --with-memcached --enable-embedded-mysqli --with-freetype-dir --enable-intl --with-xsl --enable-maintainer-zts --with-pdo-mysql 

How to add memcached now? I tried copy memcached.so from old php version to extension dir but when I start apache I see:

/usr/local/lib/php/extensions/no-debug-zts-20131226/memcached.so: undefined symbol: compiler_globals in Unknown on line 0


Source: apache

Leave a Reply