Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php8apache4_2.dll #17559

Closed
Thibault8900 opened this issue Jan 24, 2025 · 4 comments
Closed

php8apache4_2.dll #17559

Thibault8900 opened this issue Jan 24, 2025 · 4 comments

Comments

@Thibault8900
Copy link

From manual page: https://php.net/install.windows.apache2

Cannot load C:/Program Files/PHP/ext/php8apache2_4.dll into server: Le module sp\xe9cifi\xe9 est introuvable. .


@Thibault8900
Copy link
Author

Thibault8900 commented Jan 24, 2025

I found php8apache2_4.dll in the VS17 x64 Thread Safe version (2025-Jan-15 11:09:44).

I installed it, but the result when launching Apache remains the same:

Cannot load C:/Programmes/PHP/php8apache2_4.dll into server: The specified module could not be found.
Here is the PHP configuration in httpd.conf:

# before PHP 8.0.0 the name of the module was php7_module
LoadModule php_module "C:/Program Files/PHP/ext/php8apache2_4.dll"
    <FilesMatch \.php$>
    SetHandler application/x-httpd-php
    </FilesMatch>
# configure the path to php.ini 
PHPIniDir "C:/Program Files/PHP"

@devnexen
Copy link
Member

cc @cmb69

@cmb69
Copy link
Member

cmb69 commented Jan 24, 2025

See #16718. TL;DR: there are almost certainly some dependencies of php8apache4_2.dll missing, i.e. they cannot be found by Apache. You can run deplister C:/Program Files/PHP/ext/php8apache2_4.dll from a console (deplister.exe is contained in the download), to see the dependencies. Make sure that all those files are in the path which is used by Apache (ignore whether deplister says "FOUND" or "NOT FOUND").

Possibly, the problem is that you've put php8apache2_4.dll in the ext/ folder.

Copy link

github-actions bot commented Feb 8, 2025

No feedback was provided. The issue is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so. Thank you.

@github-actions github-actions bot closed this as completed Feb 8, 2025
@cmb69 cmb69 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants