我有phpMyAdmin在Nginx上运行。 我还启用了reCaptcha $cfg['CaptchaLoginPublicKey'] = 'secretkey'和$cfg['CaptchaLoginPrivateKey'] = secretkey' 。
我将上面添加到config.inc.php 。 正如你在下面看到的,我已经启用了reCaptcha。 密钥也正确input。 但是当我login时,我得到以下错误:
inputvalidation码错误,请重试!
./libraries/plugins/auth/recaptcha/ReCaptcha/RequestMethod/Post.php#68 file_get_contents()中的警告:https:// wrapper在服务器configuration中被禁用,allow_url_fopen = 0
我确定我input了相关validation码。
根据这个Bug报告,这个问题将在下一个版本中解决。 我正在使用最新的PHPMyAdmin 版本4.6.2与PHP7.0。
在我的php.ini中, allow_url_fopen = off 。
任何机构知道这是一个解决方法?
谢谢。
更新:如果allow_url_fopen = On,问题是固定的。 但是,有没有解决上述错误,因为我想将其设置为closures,出于安全原因。