Windows 10/Apache24/PHP 7.4.19 not loading mysqli

  apache2.4, mysqli, php, windows

I have a WAMP stack that I put together on my windows 10 machine. I loaded MySQL, Apache24 and PHP. MySQL, Apache and PHP work BUT I cannot get the extensions to load. I did set extension_dir in php.ini. I tried extension=mysqli and extension=php_mysqli.dll but neither are working. In fact, I don’t think any of the extensions are loading.

PHP is installed is C:php. Apache is in C:Apache24.

Here’s what I think the relevant portions of my PHP.ini are. Everything else is default:

[PHP]

extension_dir = "C:phpext"

;extension=bz2
extension=php_curl.dll
;extension=ffi
;extension=ftp
;extension=fileinfo
;extension=gd2
;extension=gettext
;extension=gmp
;extension=intl
;extension=imap
;extension=ldap
extension=php_mbstring.dll
;extension=exif      ; Must be after mbstring as it depends on it
extension=php_mysqli.dll
;extension=oci8_12c  ; Use with Oracle Database 12c Instant Client
;extension=odbc
;extension=openssl
;extension=pdo_firebird
;extension=pdo_mysql
;extension=pdo_oci
;extension=pdo_odbc
;extension=pdo_pgsql
;extension=pdo_sqlite
;extension=pgsql
;extension=shmop

Source: Windows Questions

LEAVE A COMMENT