0
votes

How to install holiday api from github : https://github.com/joshtronic/holidayapi.com

My current system setup is : Win 7 wamp2.2 php5.3

Error displayed :

Warning: require_once(pickles.php) [function.require-once]: failed to open stream: No such file or directory in D:\wamp\www\holidayapi\public\index.php on line 5

Fatal error: require_once() [function.require]: Failed opening required 'pickles.php' (include_path='.;D:\wamp\bin\php\php5.3.9\pear;/usr/share/pickles-dev/src') in D:\wamp\www\holidayapi\public\index.php on line 5

1

1 Answers

0
votes

It's expecting to find a library called "pickles" in /usr/share/pickles-dev

set_include_path(get_include_path() . PATH_SEPARATOR . '/usr/share/pickles-dev/src');

require_once 'pickles.php';