Skip to content
This repository was archived by the owner on Dec 16, 2019. It is now read-only.
This repository was archived by the owner on Dec 16, 2019. It is now read-only.

Can not enable extension pthreads on PHP 7.2.15 Windows 10 Enterprise (x64) #933

@BigPino67

Description

@BigPino67

Environment

  • PHP: 7.2.15
  • pthreads: 3.2.0
  • OS: Windows 10 Enterprise x64

Summary

Can not succesfully load/use the pthreads extenstion on Windows 10 Enterprise x64 using PHP v7.2.15

Reproducing Code

I've done the following

  • Downloaded the latest release from github Windows links
  • added the pthreads.dll to the /php/ext folder and rename to php_pthreads-3.1.6-7.2-ts-vc15-x64.dll
  • added the pthreadVC2.dll to the /php/ folder
  • enabled the extension in the php.ini file

Expected Output

A working pthreads extension!

Actual Output

PHP error log :
[12-Mar-2019 17:53:22 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads-3.1.6-7.2-ts-vc15-x64' (tried: C:\App\XAMPP\php\ext\pthreads-3.2.0-7.2-ts-vc15-x64 (The specified module could not be found.), C:\App\XAMPP\php\ext\php_pthreads-3.2.0-7.2-ts-vc15-x64.dll (The specified module could not be found.)) in Unknown on line 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions