When I run a php script from www/zendsvr/htdocs that contains db2_connect from the browser the database connection works fine. If I run a php script from my zend studio that resides in C:\Program Files\Zend\Apache2\htdocs\ I get a call to undefined function db2_connect. Can someone tell me what I'm doing wrong?
General discussion on Zend Studio for IBM System i
2 posts • Page 1 of 1
If you are trying to run it locally as a script it will probably fail unless you have a properly set up local environment. You probably need to "Run as web page" or "Debug as Web page" raher than run as script.