php / php/php-src

Add SAPI module folder to DLL search path

Open
#16,718 6 comments 0 reactions 0 assignees View on GitHub

@cmb69 is already working on this.

Since Nov 27, 2024.

Feature OS: Windows Status: Needs Triage
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

I added "extension=amqp" in php.ini file, as well as the php_amqp.dll file in "C:\xampp\php\ext", and 2 additional files
rabbitmq.4.dll and rabbitmq.4.pdb in "C:\xampp\php", but the following error appears:

PHP Warning: PHP Startup: Unable to load dynamic library 'amqp' (tried: C:\xampp\php\ext\amqp (The specified module could not be found), C:\xampp\php\ext\php_amqp.dll (The specified module could not be found)) in Unknown on line 0

PHP Version

PHP 8.2.12

Operating System

Windows 10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported php.ini configuration and the Windows paths for php_amqp.dll and rabbitmq.4.dll, then read linked pull request #16958 to understand the work already underway. Done means the AMQP extension loads without the reported startup warning on PHP 8.2.12 and Windows 10.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, php
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.