Opened 2 months ago
Last modified 2 months ago
#421 new defect
PHP module parallel could not be loaded
Reported by: | a.labenne | Owned by: | Jeff McKenna |
---|---|---|---|
Priority: | major | Milestone: | 5.0.1 release |
Component: | MS4W - PHP | Version: | 5.0.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The PHP module parallel could not be loaded.
I have the following error :
PHP Warning: PHP Startup: Unable to load dynamic library 'parallel' (tried: /ms4w/Apache/php/ext/parallel (Le module spécifié est introuvable), /ms4w/Apache/php/ext/php_parallel.dll (Le module spécifié est introuvable)) in Unknown on line 0
The file is present C:\ms4w\Apache\php\ext\php_parallel.dll
Change History (3)
comment:2 by , 2 months ago
That is exactly what I tried on my end and I gets the same results.
Which version of Visual Studio did you use to build the PHP for MS4W5 ?
If I am correct the VS16 version seems to be Visual Studio 2019. (and VS17 is Visual Studio 2022)
comment:3 by , 2 months ago
You can check your local ms4w/HISTORY.txt to see what exact compiler versions used for each library, for each MS4W release
To clarify: MS4W does not distribute the Parallel extension for PHP.
However, the PECL parallel extension can be downloaded pre-compiled from https://pecl.php.net/package/parallel
Once you move the downloaded file
php_parallel.dll
intoC:\ms4w\Apache\php\ext\
(which you already did), and then from that same download archive move the filepthreadVC3.dll
intoC:\ms4w\Apache\cgi-bin
, then you can try to load the module with:But unfortunately you will get a new error of:
Essentially this means that someone compiled that PECL extension with an older version of Visual Studio.
You can contact me directly if you require this extension as a custom build for your organization: info@…