I'm trying to learn my way around Zend Studio, and the php code executed from a browser works fine. But, when I try to debug as php script, I get the following error:

Debug Error: [path to php file] line 8 - Call to undefined function db2_connect()
Fatal error: Call to undefined...