Compiling a php extension with Visual Studio 2008, MODULE ID don't match with php

前端 未结 3 1046
夕颜
夕颜 2021-01-06 13:30

After compiling my own php extension using VC9 (2008) and VC10 (2010) using the next steps:

http://blog.slickedit.com/2007/09/creating-a-php-5-extension-with-visual-

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-06 14:09

    Ok, I found the solution:

    You must add a preprocessor constant into php-src/Zend/zend_build.h:

    #define PHP_COMPILER_ID "VC9"
    

    And it will work.


    Solution found here: http://forums.zend.com/viewtopic.php?f=55&t=2045

提交回复
热议问题