Title: cannot install recaptcha plugin for multisite
Last modified: August 19, 2016

---

# cannot install recaptcha plugin for multisite

 *  [axilaris](https://wordpress.org/support/users/axilaris/)
 * (@axilaris)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/)
 * Hi,
 * I have such a difficult time trying to install recaptcha plugin into wordpress
   3.0.2 MU.
 * im using centos and kloxo control panel for my webhosting. i think this shouldnt
   matter but who knows.
 * i followed the instructions from here:
    [http://wordpress.org/extend/plugins/wp-recaptcha/installation/](http://wordpress.org/extend/plugins/wp-recaptcha/installation/)
 * To install in WordPress MU (Forced Activation/Site-Wide):
 * 1- Upload the wp-recaptcha folder to the /wp-content/mu-plugins directory
    2-
   Move the wp-recaptcha.php file out of the wp-recaptcha folder so that it is in/
   wp-content/mu-plugins 3- Now you should have /wp-content/mu-plugins/wp-recaptcha.
   php and /wp-content/mu-plugins/wp-recaptcha/ 4- Go to the administrator menu 
   and then go to Site Admin > reCAPTCHA Get the reCAPTCHA keys here and/or the 
   MailHide keys here
 * * I dont see any reCAPTCHA in the site admin ? where is this ?
    * do i need to
   install recaptcha also in plugins directory ? * do i need to set any permission
   to mu-plugins ?

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

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1807921)
 * Under the *super admin* menu.
 *  Thread Starter [axilaris](https://wordpress.org/support/users/axilaris/)
 * (@axilaris)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1807934)
 * there is no recaptcha on *super admin* menu.
 * I have tried several things like
    – chmod 755 on mu-plugins – chmod 777 -R wp-
   content (this is serious, nothing works now. now if i change mode -R to others
   also doesnt work at all. I have to now reinstall the wholething again.
 * Please help, how can i install recaptcha on wordpress Multiuser ?
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1807988)
 * Please confirm you did these steps:
 * >  2- Move the wp-recaptcha.php file out of the wp-recaptcha folder so that it
   > is in /wp-content/mu-plugins
   >  3- Now you should have /wp-content/mu-plugins/
   > wp-recaptcha.php and /wp-content/mu-plugins/wp-recaptcha/
 *  Thread Starter [axilaris](https://wordpress.org/support/users/axilaris/)
 * (@axilaris)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808030)
 * Yes, i confirmed i did that.
 * After that the whole site didnt work.
    HTTP Error 500 (Internal Server Error):
   An unexpected condition was encountered while the server was attempting to fulfill
   the request.
 * Here is how the content looks like:
 * [root@ns1 mu-plugins]# pwd
    /home/admin/domain.com/wp-content/mu-plugins [root@ns1
   mu-plugins]# ls -al total 56 drwxr-xr-x 3 root root 4096 Dec 11 04:16 . drwxr-
   xr-x 6 root root 4096 Dec 10 18:45 .. drwxr-xr-x 2 root root 4096 Dec 11 04:16
   wp-recaptcha -rw-r–r– 1 root root 44556 Dec 11 04:16 wp-recaptcha.php
 * Deleting those files got the site working again. What went wrong ?
 *  Thread Starter [axilaris](https://wordpress.org/support/users/axilaris/)
 * (@axilaris)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808054)
 * Im quite sure my site might not work with other mu-plugins.
 * Can you recommend a simple plugin to debug this issue ? some debugging method
   word help me solve this issue.
 * Thanks!
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808061)
 * It;s an issue with your server.
 * Go in the repo, find any simple mu-related plugins that has one file and dump
   it in mu-plugins.
 * If it spazzes out again on you, you may need to ask your host what’s up.
 *  Thread Starter [axilaris](https://wordpress.org/support/users/axilaris/)
 * (@axilaris)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808117)
 * I have migrated to cpanel instead of kloxo. Still it does not work.
 * If I did this:
    2- Move the wp-recaptcha.php file out of the wp-recaptcha folder
   so that it is in /wp-content/mu-plugins 3- Now you should have /wp-content/mu-
   plugins/wp-recaptcha.php and /wp-content/mu-plugins/wp-recaptcha/
 * It will cause this:
 * Warning: require_once(/home/domain1/public_html/wp-content/mu-plugins/recaptchalib.
   php) [function.require-once]: failed to open stream: No such file or directory
   in /home/domain1/public_html/wp-content/mu-plugins/wp-recaptcha.php on line 45
 * Fatal error: require_once() [function.require]: Failed opening required ‘/home/
   domain1/public_html/wp-content/mu-plugins/recaptchalib.php’ (include_path=’.:/
   usr/lib/php:/usr/local/lib/php’) in /home/domain1/public_html/wp-content/mu-plugins/
   wp-recaptcha.php on line 45
 * mu-plugins is giving me the problem, but if i download into plugins directory,
   it ok.
 * I am really curious, how did you get recaptcha working with wordpress MU???
 *  Thread Starter [axilaris](https://wordpress.org/support/users/axilaris/)
 * (@axilaris)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808118)
 * I found out where line 45 is in wp-recaptcha.php
 * if ($wpmu == 1)
    require_once(dirname(__FILE__) . ‘/wp-recaptcha/recaptchalib.
   php’); else require_once(dirname(__FILE__) . ‘/recaptchalib.php’); <–line 45
 * so after printing out $wpmu, it appears to be 3.
 * Shouldnt it be 1 instead of 3? What is wrong ?
 * // WORDPRESS TYPE DETECTION
    // WordPress MU settings – DON’T EDIT // 0 – Regular
   WordPress installation // 1 – WordPress MU Forced Activated // 2 – WordPress 
   MU Optional Activation // 3 – WordPress MS Network Activated
 *  Thread Starter [axilaris](https://wordpress.org/support/users/axilaris/)
 * (@axilaris)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808119)
 * After further debugging, I found out why in wp-recaptcha.php
    first it sets to
   $wpmu = 1 but then it notice “is_multisite”, then it sets to 3.
 * My question is why you set to 3?? There is no installation instruction for 3?
   or should i be using 1? if so, how to ?
 * Thanks. Check the code below:
 * $wpmu = 0;
 * if (basename(dirname(__FILE__)) == “mu-plugins”) // forced activated
    $wpmu =
   1; else if (basename(dirname(__FILE__)) == “plugins” && function_exists(‘is_site_admin’))//
   optionally activated $wpmu = 2;
 * if (function_exists(‘is_multisite’))
    if (is_multisite()) $wpmu = 3;
 *  [Tim Moore](https://wordpress.org/support/users/tmoorewp/)
 * (@tmoorewp)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808120)
 *     ```
       drwxr-xr-x 2 root root 4096 Dec 11 04:16 wp-recaptcha
       -rw-r--r-- 1 root root 44556 Dec 11 04:16 wp-recaptcha.php
       ```
   
 * I think part of your issue is that root is the owner/group of these files and
   you do not have the execute bit set.
 * Put the files back in mu-plugins and run chmod -R 755 on mu-plugins
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808121)
 * > mu-plugins is giving me the problem, but if i download into plugins directory,
   > it ok.
 * then put it in the plugins folder and network activate it. Does it work then?
 *  Thread Starter [axilaris](https://wordpress.org/support/users/axilaris/)
 * (@axilaris)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808122)
 * i noticed i can activate it as “network activated” after installing the plugins
   from controlpanel.
 * There is no need for “mu-plugins” if it can be network activated ?
 * Seems to me there is a bug somewhere, basically with $wpmu = 3.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808123)
 * Not … really. I mean, not every plugin can work in mu-plugins. If you can network
   activate it, the only diff between that and mu-plugins is that a sub-site can
   turn OFF a network activated plugin, where as they cannot turn off a plugin in
   mu-plugins.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808124)
 * > a sub-site can turn OFF a network activated plugin,
 * Only if they are on the blog where it was network activated. 🙂
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808125)
 * I keep forgetting to test as a non-SuperGrover…

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

The topic ‘cannot install recaptcha plugin for multisite’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 15 replies
 * 4 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/cannot-install-recaptcha-plugin-for-multisite/#post-1808125)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
