file_get_contents()未能打开流[重复]。

问题描述 投票:0回答:1

我试图将Perfect Money API整合到codeigniter网络应用程序中,我从这个链接中得到的。https:/github.comAyubIRZPerfectMoneyAPI。. 它的工作完全正常的本地服务器上,但当上传网站到现场服务器,我开始得到的错误,这说明 Message: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 我找过了,也没找到解决方法。有什么建议,我应该怎么做才能解决这个问题呢?

php api codeigniter error-handling file-get-contents
1个回答
1
投票

php.ini 你必须设置 allow_url_fopen = On.

© www.soinside.com 2019 - 2024. All rights reserved.