在Windows xampp服务器上安装v8js时出错

时间:2017-04-30 06:14:09

标签: php xampp v8

我正在尝试在我的Windows xampp服务器上安装v8js。

我已按照本教程中的说明操作: https://blog.xenokore.com/how-to-install-v8js-for-php-on-windows/

然而,当我尝试运行`php时,我得到:

C:\Users\paul>php -v
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_v8js.dll' - The specified procedure could not be found.
 in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_v8js.dll' - The specified procedure could not be found.
 in Unknown on line 0
PHP 7.1.1 (cli) (built: Jan 18 2017 18:51:14) ( ZTS MSVC14 (Visual C++ 2015) x86 )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Xdebug v2.5.1, Copyright (c) 2002-2017, by Derick Rethans

1 个答案:

答案 0 :(得分:1)

您可能还需要将三个“额外”dll复制到apache \ bin

  • v8.dll
  • icui18n.dll
  • icuuc.dll

你需要在\ php \中运行PHP作为命令行,或者\ apache \ bin \运行在apache下运行。