Closed amiga-500 closed 3 years ago
yes, you need libuv.dll
in directory C:\php\
Yup i tried. still didn't work for me. same error.
I am using: PHP v7.4.16 (NTS VC 2017 x64)
I guess it's your version of VC 2017 x64, you might need to try building the extension, or use per-built PHP v7.4 binaries.
I ended up reading thru and discovering an old bug in the author's C code. So I fixed it and now my problem is resolved. Works perfectly now. So it had nothing to do with using vc2017 nor any other assumption i had. I will likely post a Pull Request when i am free.
Appreciate your reply nonetheless. Have a great day.
So i want to install the UV extension on Windows.
I am using: PHP v7.4.16 (NTS VC 2017 x64)
I installed this extension: php_uv-0.2.4-7.4-nts-vc15-x64.zip found here: https://windows.php.net/downloads/pecl/releases/uv/0.2.4/
The error message is: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_uv.dll' (tried: C:\php\ext\php_uv.dll (The specified module could not be found.)
Any time i get this kind of issue it is because i am using the wrong dll version. However, as you can see from my PHP version and the dll they are the same.
Just in case here is my Properties window for the php_uv.dll: Image
And i already have VS 2015 Redistribution installed, among the various other years. And most of my extensions are vc15 so i doubt its related to my PHP being compiled via vc2017 and the extension being vc2015.
In the zip it includes: libuv.dll libuv.pdb php_uv.dll php_uv.pdb
I would assume the only relevant ones i need are: php_uv.dll and php_uv.pdb which i copy into my C:\php\ext directory. Nothing else. Must i maybe copy the libuv.dll and libuv.pdb somehwere else???