Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
FabioPaz Posted December 2, 2015 Posted December 2, 2015 Hello, Today I asked my managed dedicated hosting to install Memcached in my server, but even after installation I can't enable as caching mode via AdminCP (the box is unclickable). Maybe the host installed the wrong version ? Any help will be appreciated, thank you.
RevengeFNF Posted December 2, 2015 Posted December 2, 2015 They installed Memcached and the PHP Memcache Extension?
FabioPaz Posted December 2, 2015 Author Posted December 2, 2015 11 minutes ago, RevengeFNF said: They installed Memcached and the PHP Memcache Extension? No, thank you. In the cache page of AdminCP it only tells you this "In order to use this method, the Memcache extension must be installed on your server. " (I didn't see the missing "d" in this memcache"
FabioPaz Posted December 2, 2015 Author Posted December 2, 2015 Well... it worked but now IPB asks for a server IP and suggests: 127.0.0.1:11211 but it doesn't work, the IP of the server with that port number too. What should I put ?
Nathan Explosion Posted December 2, 2015 Posted December 2, 2015 Well, 127.0.0.1 and then whatever port you have memcached serving on.....that's a suggestion because that is the default. If in doubt, ask your host what they configured it to run on....and that all assumes that they actually have the service running, and not just installed.
tnn Posted December 2, 2015 Posted December 2, 2015 4 hours ago, FabioPaz said: Well... it worked but now IPB asks for a server IP and suggests: 127.0.0.1:11211 but it doesn't work, the IP of the server with that port number too. What should I put ? You do want to use 127.0.0.1:11211. You are getting closer but I think you have a few more steps. Unfortunately, for the life of me I can't remember what I did to get it working but I had the same exact issue. I believe it may be the step below but otherwise it is something along those lines. I'll keep digging around. vi /usr/local/lib/php.ini (Path to your php.ini) Find the extension as below and if it is not existed, add it in the php.ini. extension=memcache.so Restart the Apache services.
ctrlbrk Posted December 2, 2015 Posted December 2, 2015 While we're at it -- in addition to memcached, is the correct/best PHP package php5-memcache or php5-memcached?
tnn Posted December 2, 2015 Posted December 2, 2015 53 minutes ago, ctrlbrk said: While we're at it -- in addition to memcached, is the correct/best PHP package php5-memcache or php5-memcached? Quote For those confuse about the memcached extension and the memcache extension, the short story is that both of them are clients of memcached server, and the memcached extension offer more features than the memcache extension. That's direct from the PHP manual -> http://php.net/manual/en/book.memcached.php
FabioPaz Posted December 2, 2015 Author Posted December 2, 2015 Hello, friends. Thank you all for the help... My problem was that the memcached was not running and the config file was missing (I can't explain why). After fixing those issues, the server 127.0.0.1:11211 worked. Now the sad part: the board seems to be slower than before I think this is a matter of tweaking the config file, but I dont have the know-how for this
Recommended Posts
Archived
This topic is now archived and is closed to further replies.