shahsani
shahsani

Reputation: 699

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

Upvotes: 5

Views: 2262

Answers (1)

T.Todua
T.Todua

Reputation: 56341

As mentioned:

  • You might need to download Thread safe version from https://pecl.php.net/package/trader

  • Click "DLL" under downloads column

  • select your PHP version

  • put the downloaded .dll file in wamp\bin\php\php7.X\ext

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

    extension=trader

  • Restart WAMP

Upvotes: 5

Related Questions