尝试开发自己的Extension,它无法在xampp上运行.自己的dll是vs2012编译的


try to develop a own Extension, it can not run on xampp. the own dll was compiled vs2012

当我启动xamp-apache服务器时,它显示一个警告:

PHP starup:  myext :  Unable to initialize module Module  compiled with build ID=API20131226 ,TS
PHP compiled with build ID=API20131226 ,TS,VC11  

这些选项需要匹配

但我是用vs2012 编译这个项目的

我的示例版本是xampp-win32-5.6.3

我的php src代码是5.6.3 vc11

在开始的cpp处添加"#define PHP_COMPILER_IF"VC11"