PHP driver for Windows compiled with VC6

347 views
Skip to first unread message

Ionut G. Stan

unread,
Jul 7, 2009, 4:10:17 AM7/7/09
to mongod...@googlegroups.com
Hi,

I've recently begun experimenting with mongoDB and I like it so far. Now,
I'd like though to use the PHP driver, but there's a small issue. I'm Using
PHP on Windows as an Apache module and the download page[1] for PHP
binaries says that we should not use VC9 versions with Apache binaries.

Last night I downloaded both mongoDB drivers for PHP (5.2 and 5.3) and it
appears that they are both compiled with VC9 and no download is available
for VC6, which makes the extension useless with my installation.

Are there any plans to provide VC6 compiled versions?

Thanks

[1] http://windows.php.net/download/
-- 
Ionut G. Stan
I'm under construction  |  http://igstan.blogspot.com/

Kristina Chodorow

unread,
Jul 7, 2009, 10:39:25 AM7/7/09
to mongod...@googlegroups.com
I'll see what I can do. 

In the meantime, if you want, you can play with it using the VC9 version.  I wouldn't use PHP VC9+Apache in production, given the warnings, but they worked fine together on my local machine.

Ionut G. Stan

unread,
Jul 7, 2009, 10:43:20 AM7/7/09
to mongod...@googlegroups.com
On 7/7/2009 17:39, Kristina Chodorow wrote:
> I'll see what I can do.
Thank you.

> In the meantime, if you want, you can play with it using the VC9 version.
Yes, I'll play with it only from the command line. Doesn't have to be
working in a web context right now.

> I wouldn't use PHP VC9+Apache in production, given the warnings, but
> they worked fine together on my local machine.

Kristina Chodorow

unread,
Jul 28, 2009, 11:50:38 AM7/28/09
to mongod...@googlegroups.com
I've added a link on the downloads page for a VC6 build of the driver
(http://cloud.github.com/downloads/mongodb/mongo-php-driver/mongo-v0.9.3-r2-php5.3-VC6.zip,
I've also changed the naming scheme, it was getting a little
ridiculous).

I actually asked some Microsoft PHP people about this at OSCON, and
they said that the guy who wrote the warnings about VC6 was being
paranoid. Apparently VC9+Apache will work fine. It's only a problem
if Apache allocates some memory, passes it to PHP, and PHP deallocates
it, which Apache is VERY careful not to do.

Also: they said that there are binaries in the 5.2 branch haven't been
recompiled since '99, so there are security holes and memory leaks out
the wazoo. They think that everyone using PHP on Windows should
upgrade to 5.3.
Reply all
Reply to author
Forward
0 new messages