疑难解答“无法打开流:没有这样的文件或目录”在require()ing twilio-lib.php时

I have downloaded the Twilio PHP library but I am getting an error when I try to include the library in my code.

Below is the error I get:

Warning: require(twilio-lib.php) [function.require]: failed to open stream: No such file or directory in /websites-dev/dev.icalapp.rogersdigitalmedia.com/testing.php on line 11

Fatal error: require() [function.require]: Failed opening required 'twilio-lib.php' (include_path='.:/usr/share/pear:/usr/share/php') in /websites-dev/dev.icalapp.rogersdigitalmedia.com/testing.php on line 11

Someone fudged up somewhere - there is no such twilio-lib.php file in Twilio's PHP library.

Try removing the line in your downloaded PHP that looks exactly or similar to the following:

require "twilio-lib.php";