-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Windows PHP 8.4.3 Extension Loading Problems #17616
Comments
All of those extensions have dependencies on other DLLs. Did you make sure those dependencies are available for Apache to load? And no, simply having them in the PHP directory isn't enough because the running application is Apache - not php.exe. |
Apache is definitely setup correctly. Below is how I switch between Apache versions in my httpd.conf. PHP-5/7/8
|
That's nice, but I asked if you had the dependencies of those extensions' DLLs accessible to Apache. So I'm going to assume the answer is "no". There are better solutions, but the simplest one is to add PHP to the |
Nailed it. The solution was to update the system path. Obviously a long day for me. Thank you. |
But see #16958. |
Description
Having problems loading extensions on Windows. Below are my Apache logs:
PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: C:\Php\php-8.4.3\ext\curl (The specified module could not be found), C:\Php\php-8.4.3\ext\php_curl.dll (The specified procedure could not be found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: C:\Php\php-8.4.3\ext\intl (The specified module could not be found), C:\Php\php-8.4.3\ext\php_intl.dll (The specified module could not be found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pgsql' (tried: C:\Php\php-8.4.3\ext\pgsql (The specified module could not be found), C:\Php\php-8.4.3\ext\php_pgsql.dll (The operating system cannot run %1)) in Unknown on line 0
PHP Version
PHP 8.4.3
Operating System
Windows 10
The text was updated successfully, but these errors were encountered: