Opened 15 months ago
Closed 27 hours ago
#421 closed defect (fixed)
PHP module parallel could not be loaded
| Reported by: | a.labenne | Owned by: | Jeff McKenna |
|---|---|---|---|
| Priority: | major | Milestone: | 5.2.0 release |
| Component: | MS4W - PHP | Version: | 5.0.0 |
| Keywords: | Cc: | ||
| Blocked By: | #427 | 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 (6)
comment:2 by , 15 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 , 15 months ago
You can check your local ms4w/HISTORY.txt to see what exact compiler versions used for each library, for each MS4W release
comment:4 by , 11 months ago
| Blocked By: | 427 added |
|---|
comment:6 by , 27 hours ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
- included in MS4W 5.2.0-rc2: https://ms4w.com/release/experimental/ms4w_5.2.0_rc2.zip

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.dllintoC:\ms4w\Apache\php\ext\(which you already did), and then from that same download archive move the filepthreadVC3.dllintoC:\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@…