I installed wampserver with Apache v2.2.17 and PHP v5.3.5.
When I use the function file_get_contents()
with the HTTPS URL as a parameter, I get the following warning:
Warning: file_get_contents()
[function.file-get-contents]: Unable
to find the wrapper “https” – did you
forget to enable it when you
configured PHP? in
C:wampwwwfbappindex.php on line 22
Is there a way to configure wampserver to enable SSL without reinstalling it?
And check one more thing:
It may give an error if the file is not found as well. So use this one:
[email protected]_get_contents(path);
if($f){
// your code here...
}