PECL Memcache client of memcached distributed cache server, is a very probable candidate for high-load systems.
Typically you won’t be able to use “pecl” directly and when you try to install manually with phpize you will get an error like:
” PHP Warning: Unknown(): Unable to load dynamic library ‘/opt/lampp/lib/php/extensions/no-debug-non-zts-20020429/memcache.so’ – /opt/lampp/lib/php/extensions/no-debug-non-zts-20020429/memcache.so: undefined symbol: OnUpdateLong in Unknown on line 0″
Below is step-by-step guide of how to install a PECL extension (Memcache in this case) in the latest XAMPP:
make sure you uninstall all and any PHP installations you may have had before along with PECL and PEAR
Download and install XAMPP 1.7.1
Add /opt/lampp/bin to your PATH
Download and install XAMPP Development Package
backup /opt/lampp/include directory to /opt/lampp/include-bak. This directory
Download source distribution of the PHP corresponding to your XAMPP installation
php source distribution is /opt/lampp/include/php
Run “./configure” and “make” on that php source.
Caution: Do NOT run “make install”!!!
Download memcache-2.1.2 anywhere
# cd memcache-2.1.2
# phpize
# ./configure
# make
# make install
Edit /opt/lampp/etc/php.ini and add a line:
extension=”memcache.so”
Knowledge speaks, but wisdom listens. 😉
16 Responses to Install PECL Memcache with LAMPP
Leave a Reply
You must be logged in to post a comment.
Every time I read a really great article I go ahead and do three things:1.Show it to my close friends.2.keep it in some of the favorite social sharing websites.3.Make sure to return to the same blog where I first read the article.After reading this post I am really concidering going ahead and doing all of the above.
Whenever I visit this page there’s new stuff and improved should learn from. Haha I’ve held it’s place in your source code several times to find out how you’re doing some things so i could wear them my site. Thanks! I can educate you about methods to earn money online.
Wow, that’s a really nice read!
This was precisely the answers I’d been searching for. Amazing blog. Incredibly inspirational! Your posts are so helpful and detailed. The links you feature are also very useful too. Thanks a lot 🙂
Good Post!
Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you could do with a few pics to drive the message home a little bit, but other than that, this is wonderful blog. A great read. I’ll definitely be back.
Excellent website. Plenty of helpful info here. I’m sending it to a few friends ans additionally sharing in delicious. And naturally, thank you on your sweat!
I wanted to let you know you wrote a great article.
Thanks for taking this opportunity to mention this, I’m strongly about it and I benefit from garden greenhouse structures this subject. When possible, when you gain data, please update this website with new information. I have found it extremely useful.
Thanks for the share!
Nancy.R
*There are some interesting points in time in this article but I don’t know if I see all of them center to heart. There is some validity but I will take hold opinion until I look into it further. Good article , thanks and we want more! Added to FeedBurner as well
*I discovered your blog site on google and check a few of your early posts. Continue to keep up the very good operate. I just additional up your RSS feed to my MSN News Reader. Seeking forward to reading more from you later on!…
Nice!! I hope you will keep up the amazing work.
Hello there, You have done a great job. I’ll certainly digg it and personally suggest to my friends. I am sure they’ll be benefited from this website..
great to find such great blog, I really like it. you are the best
An stimulating discussion is couturier report. I judge which you need to indite solon on this message, it may not be a taboo study but mainly people are not enough to talk on such topics. For the subsequent. Cheers like your Nautica Miami South Beach Triathlon.