Google Docs downloading stopped working in XAMPP a few days

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Google Docs downloading stopped working in XAMPP a few days

Postby zsero » 26. April 2011 08:13

I have been downloading spreadsheets from Google Docs in PHP using a simple file_get_contents($url); method. The url has a form of

$url = "";

Its been working fine all the time, and it still works fine at my host, but it stopped working on my local windows based XAMPP installation.

The error it's showing since a few days is:

file_get_contents() [function.file-get-contents]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?

My problem is that I couldn't find any field with neither "SSL" or "HTTPS" in the php.ini file in the XAMPP folder. Nor I could find any tutorial for simply just enabling downloading with SSL in XAMPP. All the tutorials were about how to serve HTTPS pages, not about downloading something with a simple file_get_contents($url) method.

Can you tell me what do I need to modify on my installation to make it work?

1. file_get_contents() works fine with everything else
2. using the browser, I could download from the same url.
Posts: 3
Joined: 11. November 2005 13:53

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 83 guests