2009年1月16日星期五

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

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

没有评论: