PHP Startup: Unable to load dynamic library, Windows

3.2k views Asked by At

I've installed PHP 7.4 on C:\Program Files\Php74 and it's working but when i try to load an extension, there is such error:

PHP Warning: PHP Startup: Unable to load dynamic library 'php_pthreads.dll' (tried: C:\\php\\ext\\php_pthreads.dll ...

Which C:\php\ doesn't exists so I added extension_dir = "C:\Program Files\Php74\ext" to php.ini and i get same error with just updated path:

PHP Startup: Unable to load dynamic library 'php_pthreads.dll' (tried: C:\\Program Files\\Php74\\ext\\php_pthreads.dll ...

  • The C:\Program Files\Php74\ext\php_pthreads.dll file exists
  • PHP path has been added to windows PATH
  • Microsoft Visual C++ 2017, 2015 and 2013 are installed.
  • Windows 10 1909 64bit
  • Apache 2.4

SOLVED:

It fixed by details on this thread: https://stackoverflow.com/a/54024356/547185

0

There are 0 answers