ReCAPTCHA wrapper is disabled in the server configuration

Author: Zeeshan Arshad     331     05/01/2018

Estimated reading time: 0 minutes, 21 seconds

Problem: Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

Solution 1: Create an empty php.ini file on your domain's root (public_html) and set following code.


Solution 2: In PHP set following configuration. 

ini_set("allow_url_fopen", 1);

Note: This work in 4.3.4 or prior version. After 4.3.4 allow_url_fopen must be seted in php.ini



Was this topic helpful?

Subscribe YouTube Channel

Zeeshan Arshad is a self-taught and multi-dimensional person with extraordinary track record of success with international clients and students.

Feel free to contact him for your project, training purpose or guidance.