xampp install didnt include working PEAR

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

xampp install didnt include working PEAR

Postby rdsk » 15. October 2016 20:18

Hi
I started Apache in the xmapp control panel and tried a test.pdph file which showed that PHP works OK.
However, when I ran iweather.php which is provided by server link in on: http://www.galacticstudios.org/kindle-weather-display/
as
http://www.galacticstudios.org/wp-content/uploads/2015/12/WeatherDisplayServer.zip

I got:

Warning: require_once(HTTP/Request2.php): failed to open stream: No such file or directory in C:\xampp\htdocs\iweather.php on line 3

Fatal error: require_once(): Failed opening required 'HTTP/Request2.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\iweather.php on line 3

So I assume that PEAR is not working correctly. Please help!

Rupert
rdsk
 
Posts: 2
Joined: 15. October 2016 20:09
XAMPP version: 7.0.9
Operating System: windows 10

Re: xampp install didnt include working PEAR

Postby Nobbie » 16. October 2016 11:59

Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04

Re: xampp install didnt include working PEAR

Postby rdsk » 16. October 2016 16:24

thanks. The posts say to use:

pear install http_request2

but not where. I'm newbie!

How do I actually get this recommended script to run? I tried at cmd but failed:

C:\xampp\php>cd pear

C:\xampp\php\pear>pear install http_request2
'pear' is not recognized as an internal or external command,
operable program or batch file.
rdsk
 
Posts: 2
Joined: 15. October 2016 20:09
XAMPP version: 7.0.9
Operating System: windows 10

Re: xampp install didnt include working PEAR

Postby Altrea » 16. October 2016 17:58

use the XAMPP shell (button in your XAMPP control panel)
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: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 30 guests