我正在尝试在我的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
答案 0 :(得分:1)
您可能还需要将三个“额外”dll复制到apache \ bin
你需要在\ php \中运行PHP作为命令行,或者\ apache \ bin \运行在apache下运行。