Home > PHP > Unable to get https content using file_get_contents

Warning: file_get_contents(https://xxx.com) [function.file-get-contents]: failed to open stream: Invalid argument in script.php on line 10

Solution:
1. Open php.ini
2. Find the line ;extension=php_openssl.dll
3. Remove the ;
4. Restart apache now




Flag Counter