Welcome Guest, Not a member yet? Register   Sign In
Message: file_get_contents(): https:// wrapper is disabled in the server configuratio
#5

(06-10-2018, 10:20 PM)mehuljogi Wrote:
(06-09-2018, 09:12 AM)InsiteFX Wrote: php.ini

Code:
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-fopen
allow_url_fopen=On

I already on it, but while I am using my code with my controller file of the codeignitter framework than it not works let me know if you have another option, I already tried curl but give me error like undefined curl_init() function. I already on library using php.ini file for curl too.

You might be editing the wrong php.ini

Create a test.php, put phpinfo() in it and then access it. It will tell you many things and one of them will be the location the php.ini file, that's the one you need to edit. Don't forget to restart your server after saving php.ini for it to take effect.
Reply


Messages In This Thread
RE: Message: file_get_contents(): https:// wrapper is disabled in the server configuratio - by ragingTorch - 06-11-2018, 03:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB