I am unable to make php_parallel ( https://www.php.net/manual/en/parallel.setup.php ) extension to work.
This is what I have done:
Downloaded PHP 8.1.7 64bit Thread Safe into "D:\PHP8TS"
Downloaded parallels 1.1.4 from "https://windows.php.net/downloads/pecl/releases/parallel/1.1.4/php_parallel-1.1.4-7.4-ts-vc15-x64.zip"
Put file "pthreadVC2.dll" into "D:\PHP8TS"
Put file "php_parallel.dll" into "D:\PHP8TS\ext" dir
Put "extension=D:\PHP8TS\ext\php_parallel.dll" line into php.ini
Put "D:\PHP8TS\pthreadVC2.dll" into PATH environment variable
Execute "D:\PHP8TS\php.exe -v" with result:
PHP Warning: PHP Startup: Unable to load dynamic library 'D:\PHP8TS\ext\php_parallel.dll' (tried: D:\PHP8TS\ext\php_parallel.dll (The specified module could not be found), C:\php\ext\php_D:\PHP8TS\ext\php_parallel.dll.dll (The specified module could not be found)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'D:\PHP8TS\ext\php_parallel.dll' (tried: D:\PHP8TS\ext\php_parallel.dll (The specified module could not be found), C:\php\ext\php_D:\PHP8TS\ext\php_parallel.dll.dll (The specified module could not be found)) in Unknown on line 0 PHP 8.1.7 (cli) (built: Jun 7 2022 21:45:53) (ZTS Visual C++ 2019 x64) Copyright (c) The PHP Group Zend Engine v4.1.7, Copyright (c) Zend Technologies
What have I done wrong? Was anyone successful in running this extension on PHP 8.1.7?
By this way, I was sucessfully able to add other PHP extensions (for example pdo_sqlite).
lat the end? I'm sure that's just a typo. But that's the first thing I would check for: Typos and capitalization.C:\php\ext\php_D:\PHP8TS\ext\php_parallel.dll.dllI would try to place your DLL files intoC:\php\extand in ini file just putextensions=parallel.dll(or justparallel)