AlPHP Posted May 6, 2006 Share Posted May 6, 2006 I'm trying to run Service_weather package on my server. This package contants example "weather.com-extensive.php". It works on my home Windows PC.I've installed PEAR and all packages I need on my server. When I try to run weather.com-extensive.php, I don't get any error message. There is just empty page in my browser.I think code stops working here:[code]// Object initialization - error checking is important, because of// handling exceptions such as missing PEAR modules$weatherDotCom = &Services_Weather::service("WeatherDotCom", array("httpTimeout" => 30));if (Services_Weather::isError($weatherDotCom)) { die("Error: ".$weatherDotCom->getMessage()."\n");}[/code]The code works before these lines.Where is the problem? How to resolve it? Link to comment https://forums.phpfreaks.com/topic/9177-pear-example-dont-work-on-unix-server/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.