Title: System Info Memcached Version: Array
Last modified: July 20, 2018

---

# System Info Memcached Version: Array

 *  Resolved [imtino](https://wordpress.org/support/users/imtino/)
 * (@imtino)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/)
 * I’m not sure if it supposed to be like this.
    `Memcached: Memcached Extension
   is Loaded - Version: Array`
 * Is it supposed to say Array?

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10513011)
 * Yep, this is a bug. We will fix this in the next BPS plugin version release. 
   Thanks for pointing this bug out. 😉
 *  Thread Starter [imtino](https://wordpress.org/support/users/imtino/)
 * (@imtino)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10513763)
 * Cool, I was thinking something wrong with my system. I have been messing around
   to find a solution. All that work for no reason. hahaha
 * Anyways, so glad to have that sorted out.
 * As always, thank you for the awesome support and plugin.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10559479)
 * Actually going by php.net and other sources… using this object `$memcached->getVersion()`
   should work fine without doing anything else. ie loops. So I’m not really sure
   why you are seeing “array”. I am going to load/install memcached on my server
   and double check that the code is good. I did come across some info that indicates
   if you are not seeing the version then there is a config mistake somewhere. Anyway
   let me install/load memcached and verify whether the existing BPS code is fine
   or not.
    -  This reply was modified 7 years, 10 months ago by [AITpro](https://wordpress.org/support/users/aitpro/).
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10559497)
 * Actually it is not necessary to bother with installing memcached as you can see
   the end verification code in the link below is using the same object to verify/
   display the version > `echo "Server's version: " . $memcache->getVersion() . "
   <br />\n";` So it would just be a waste of time to do the installation. All references
   that I checked… php.net, several other sources are all using the same exact code
   that is being used in BPS to get the memcached version. So it sounds like you
   do have some sort of memcached config problem on your end. ie no need to change
   the existing BPS System Info page code.
 * [https://phpcodez.com/install-memcached-xampp-windows-10/](https://phpcodez.com/install-memcached-xampp-windows-10/)
    -  This reply was modified 7 years, 10 months ago by [AITpro](https://wordpress.org/support/users/aitpro/).
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10559499)
 * Forgot to add the link. link added above.
 *  Thread Starter [imtino](https://wordpress.org/support/users/imtino/)
 * (@imtino)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10559814)
 * Thank you for investigating this issue.
 * I checked my phpinfo
 *     ```
       <?php
       phpinfo();
       ?>
       ```
   
 * and it does show the memcached version.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10559823)
 * Good timing. I was just making my rounds over here and checking for any new issues.
   😉 Yeah I think everything is probably working fine with memcached and BPS memcached
   checking code since it is the code that is recommended on php.net and everywhere
   else. So for whatever reason your server is returning a value in an array. Not
   really sure why that is, but it is nothing to worry about. Unfortunately, BPS
   will just not be able to display the memcached version on your particular host
   server. No big deal.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10559840)
 * Oops. I double checked and not sure what I was looking at before, but yeah the
   output code should use print_r(). Too funny. So yeah it is a bug that needs to
   be fixed. Silly. So yeah this is a bug that needs to be fixed.
 * This is echoed
    `echo $memcached->getVersion();`
 * Should be a print_r(). Correction: A loop is needed if the version is the only
   thing that needs to be displayed instead of both the server connection and the
   version.
    `print_r($memcached->getVersion());`
    -  This reply was modified 7 years, 10 months ago by [AITpro](https://wordpress.org/support/users/aitpro/).
 *  Thread Starter [imtino](https://wordpress.org/support/users/imtino/)
 * (@imtino)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10559892)
 * Cool, I’m looking forward to the fixed. Thank you as always.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10565400)
 * Man this is some nutty stuff. Both memcache and memcached version code checks
   do not work consistently across different servers/hosts. I ended up installing
   memcache/memcached on our test server and things work fine to get the version,
   but on our Live hosting account and another web host testing account the version
   comes back blank. I’m using the exact code from php.net so it should work consistently,
   but it does not work consistently on all web hosts. I believe this probably has
   to do with hosts using different “memcache host” names instead of using localhost.
   So I’m bailing out on messing around with this anymore. GRRRR. I’m just going
   to remove the version checking object code since it does not work consistently
   across different servers/web hosts. So only the extension loaded or not check
   will remain.
 *  Thread Starter [imtino](https://wordpress.org/support/users/imtino/)
 * (@imtino)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10566127)
 * That does sound like a pain. Thank you for working so hard on improving BPS. 
   I could live with that, without version is fine. Just know that it’s loaded and
   working is good enough for me.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘System Info Memcached Version: Array’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [imtino](https://wordpress.org/support/users/imtino/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/system-info-memcached-version-array/#post-10566127)
 * Status: resolved