ReCAPTCHA wrapper is disabled in the server configuration

Author: Zeeshan Arshad     892     05/01/2018

Estimated reading time: 0 minutes, 21 seconds

Zeeshan Arshad - Lifestyle Blog

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.

allow_url_fopen=1

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

 

 

« Return to Blog