This question is very similar to: Unable to load dynamic library php_zmq.dll - The specified module could not be found
But I need an answer specific to configuration in IIS PHP Fast-CGI, may even be limited to v10 (Windows Server 2016). For me, the usual configuration works fine with XAMPP and Windows 10 but fails with IIS.
Here is what I have done till now:
- Installed all available VC++ Redistributables
- Installed ZeroMQ v4.0.4
- Downloaded PHP ZMQ v1.1.3-7.2-ts-vc15-x64
- Moved the php_zmq.dll to C:\Program Files\IIS Express\PHP\v7.2\ext
- Moved libzmq.dll to C:\Program Files\IIS Express\PHP\v7.2
- Added extension directive in php.ini
- Added path to ext folder
Upon server restart, the following warning is thrown:
[01-Dec-2018 01:11:34 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'php_zmq.dll' (tried: C:\Program Files\iis express\PHP\v7.2\ext\php_zmq.dll (The specified module could not be found.), C:\Program Files\iis express\PHP\v7.2\ext\php_php_zmq.dll.dll (The specified module could not be found.)) in Unknown on line 0
With php -m
, I am also not able to see the zmq module listed.