简体   繁体   中英

How to Install PECL V8js extention on WAMP?

Hi I am trying to install the extention V8js. But it is not installing. I have latest WAMP :

Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.16

I downloaded php_v8js-0.1.3-5.3-nts-vc9-x86.zip from

http://windows.php.net/downloads/pecl/snaps/v8js/0.1.3/

Then I copied and pasted it to

D:\wamp\bin\php\php5.4.16\ext

Then I ticked the extension php_v8js from wamp system tray item. When I tried the sample code of V8js I get this error message

Fatal error: Class 'V8Js' not found in D:\wamp\www\un.php on line 16

When I check wamp the extension php_v8js it was not ticked. Has anyone made this extension work in WAMP?

如果您想安装这样的扩展,更好的方法是将每个部分(apache、php 和 mysql)安装为独立的,因为您使用 vc9 编译器获取扩展,并且 wamp 版本可能是 vc11。

只是补充一下,我认为 Wamp 是线程安全的,所以可能应该使用 ts 版本而不是 nts 版本。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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