You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Download PHP 8.4 from https://windows.php.net/downloads/releases/php-8.4.3-Win32-vs17-x64.zip// Enable extension=openssl in php.ini// php -v
Resulted in this output:
Warning: PHP Startup: openssl: Unable to initialize module
Module compiled with module API=20180731
PHP compiled with module API=20240924
These options need to match
in Unknown on line 0
PHP 8.4.3 (cli) (built: Jan 15 2025 11:04:37) (ZTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Zend Engine v4.4.3, Copyright (c) Zend Technologies
But I expected this output instead:
PHP 8.4.3 (cli) (built: Jan 15 2025 11:04:37) (ZTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Zend Engine v4.4.3, Copyright (c) Zend Technologies
PHP Version
8.4.3
Operating System
Windows 11
The text was updated successfully, but these errors were encountered:
Make sure that extension_dir points to the folder where the PHP 8.4 extensions are located (not the PHP 7.3 extensions). For possible follow-up issues, see #16718 (especially the links at the end of the thread).
As you suggested, It has been fixed by uncommenting the extension_dir
; Directory in which the loadable extensions (modules) reside.
; https://php.net/extension-dir
;extension_dir = "./"
; On windows:
extension_dir = "ext" <------ uncomment this line
Description
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
8.4.3
Operating System
Windows 11
The text was updated successfully, but these errors were encountered: