XAMPP under Windows: Google Weather error

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

XAMPP under Windows: Google Weather error

Postby yourlocalsheriff » 21. October 2010 16:54

I am new to XAMPP, and have just installed XAMPP for Windows as a development site.

It is installed and working fine - EXCEPT...
When I install mod_googleWeather and configure it the same as in the live site, I get the following error:
Fatal error: Call to undefined function curl_in it() in C:\XAMPP\htdocs\modules\mod_googleWeather\mod_googleWeather_lib.php on line 200

As it is ok on the live site this must be some wrong setting in the XAMPP environment.

XCan somebody please point me in the right direction to solve this problem.

Thanks in advance,

John Wilson :cry:
yourlocalsheriff
 
Posts: 9
Joined: 19. October 2010 06:57

Re: XAMPP under Windows: Google Weather error

Postby Altrea » 21. October 2010 16:57

have you enabled curl?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP under Windows: Google Weather error

Postby yourlocalsheriff » 22. October 2010 00:10

Thank you for your response.
As I said, I'm new to XAMPP, so pardon my ignorance.

How, and where do I enable curl?

Thanks again

John :cry:
yourlocalsheriff
 
Posts: 9
Joined: 19. October 2010 06:57

Re: XAMPP under Windows: Google Weather error

Postby Altrea » 22. October 2010 14:11

- Open the file php.ini
- search for "extension=php_curl.dll"
- remove the ; at the beginning
- Restart your Apache
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP under Windows: Google Weather error

Postby yourlocalsheriff » 24. October 2010 13:12

Many thanks Altrea - fixed the problem.

John
yourlocalsheriff
 
Posts: 9
Joined: 19. October 2010 06:57


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 117 guests