简体   繁体   English

我在xamp中使用php 5.6.24,正在安装V8js扩展并收到以下警告

[英]i am using php 5.6.24 in xamp and i'm installing V8js extension and getting following warning

php -i | php -i | findstr "Thread" findstr“线程”

PHP Warning: PHP Startup: v8js: Unable to initialize module Module compiled with module API=20121212 PHP compiled with module API=20131226 These options need to match in Unknown on line 0 PHP警告:PHP启动:v8js:无法初始化模块使用模块API = 20121212编译的模块使用模块API = 20131226编译的PHP这些选项需要在第0行的Unknown中进行匹配

Thread Safety => enabled 线程安全=>启用

You have installed the wrong version of the extension. 您安装了错误的扩展版本。 You need the version that is compiled with API 20131226 . 您需要使用API 20131226编译的版本。 So you have to search for the correct version and install them. 因此,您必须搜索正确的版本并安装它们。 Then is should work. 然后是应该工作的。

https://github.com/terrylinooo/v8js-dll https://github.com/terrylinooo/v8js-dll

here you can see the versions that are included. 在这里,您可以查看其中包含的版本。 So normally if you have used the correct version it should be correct. 因此,通常,如果您使用了正确的版本,则它应该是正确的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM