2009年1月16日星期五

Re: [fw-db] ZendFramework Application vs TestCase Connection

Unfortunately this was not successful. I can't imagine that I'm the only person with issue regarding PHPUnit in ZendStudio not connecting to the database.
Should I be asking this elsewhere?

-Mike

On Fri, Jan 16, 2009 at 7:14 AM, Mike Bronner <mike.bronner@gmail.com> wrote:
Interesting point, Till. Thanks for the suggestion, I'll give that a try. :)

-Mike


On Fri, Jan 16, 2009 at 7:12 AM, till <klimpong@gmail.com> wrote:
On Fri, Jan 16, 2009 at 4:09 PM, Mike Bronner <mike.bronner@gmail.com> wrote:
> (...)
> Again, I've reached what seems to be a show-stopper. How are you guys able
> to connect to MYSQL in your PHPUnit tests using ZendStudio?
>
> Thanks again for any information or ideas you can provide.
>
> -Mike

You could just load the .dll/.so in PHP.

if (!extension_loaded('mysql')) {
 dl('mysql.' . PHP_SHLIB_SUFFIX);
}

Till




--
Celebrate Liberty, Freedom, and Rights at http://www.theconstitutionalist.us.

没有评论: