1
votes

php -i | findstr "Thread"

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

Thread Safety => enabled

1
The version of v8js does not appear to be compatible with your version of PHP. They both appear to be using a different MSVC runtime library - RiggsFolly

1 Answers

2
votes

You have installed the wrong version of the extension. You need the version that is compiled with API 20131226. So you have to search for the correct version and install them. Then is should work.

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.