简体   繁体   中英

Install php_trader.dll in WAMP Server (3.0.6 x64 ) on Windows

For installing PHP Trader extension in my local WAMP 3.0.6 on Windows 10 Pro x64, I did the following steps:

  1. Downloaded php_trader-0.4.0-7.2-nts-vc15-x64.zip from http://windows.php.net/downloads/pecl/releases/trader/0.4.0/ .
  2. Placed the php_trader.dll in wamp64/bin/php/php7.0.10/ext folder.
  3. In my php.ini, accessible from WAMP notification icon, added a line as: extension=php_trader.dll .
  4. Restarted all services from WAMP notification icon. But PHP Error Log shows the following:

PHP Warning: PHP Startup: Unable to load dynamic library d:/wamp64/bin/php/php7.0.10/ext/php_trader.dll - The specified module could not be found. in Unknown on line 0

I wonder what am I doing wrong here.

UPDATE

I downloaded the thread-safe x64 trader 0.4.0 DLL from https://pecl.php.net/package/trader/0.4.0/windows , and its now working.

Cheers

As stated by others, You might need to download Thread safe version:

Click "DLL" under downloads column, the specific PHP 7.Xversion you use

1) put the .dll file in wamp\\bin\\php\\php7.X\\ext

2) Left click on WAMP > PHP > PHP.ini > add this line:

extension=trader

3) Restart WAMP

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