Compiling my own PHP extension on Windows with Visual Studio 2008

Posted by Mickey Shine on Stack Overflow See other posts from Stack Overflow or by Mickey Shine
Published on 2009-06-24T02:00:05Z Indexed on 2010/04/26 7:53 UTC
Read the original article Hit count: 376

I wrote a PHP extension and it could be compiled and run under linux successfully. But on windows, I met some problems.

I did the compiling on windows according to http://blog.slickedit.com/?p=128 with PHP source version 5.2.10, and after the compiling it generated the dll file. But when I tried to use the dll file, it reported me the memory problems when starting Apache(Wamp server). And then I started the debugging process, it seemed that REGISTER_INI_ENTRIES() had problems.

Here is the PHP extension source code, http://www.bluefly.cn/xsplit.tar.gz , and it works fine on Linux. But I also want to make it work on Windows.

Sorry I am not a pro so that I hope someone can help me.

Any help is appreciated and thanks in advance~

© Stack Overflow or respective owner

Related posts about php

Related posts about php-extension