Php 尝试开发一个自己的扩展,它不能在xampp上运行。自己的dll是在vs2012中编译的
启动xampp apache服务器时,会显示一条警告:Php 尝试开发一个自己的扩展,它不能在xampp上运行。自己的dll是在vs2012中编译的,php,Php,启动xampp 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版本是xampp-win32-5.6.3 我的php src代码是5.6.3 vc11在cp
PHP starup: myext : Unable to initialize module Module compiled with build ID=API20131226 ,TS
PHP compiled with build ID=API20131226 ,TS,VC11
这些选项需要匹配
但是我是用vs2012
我的xampp版本是xampp-win32-5.6.3
我的php src代码是5.6.3 vc11
在cpp开头添加“#define php_COMPILER_”(如果是“vc11”)