0

I have downloaded PHP 7 and connected it to Apache web server and it works fine, but I cannot activate the mysqli extension what I did was: In the php.ini file, I removed the semicolon from extension=php_mysqli.dll , I have seen that the dll file exists in the folder C:\php\ext\ so I also added extension_dir = C:\php\ext .

However when I navigate to the phpinfo(); page on apache server , nothing has changed and there is no mysqli, only mysqlnd. Any ideas on how to fix this?

Alihossein shahabi
  • 4,034
  • 2
  • 33
  • 53
Celia
  • 41
  • 3

1 Answers1

1

The issue was resolved when I added PHPIniDir "C:/php" in the configuration file (httpd.conf) of Apache24

Celia
  • 41
  • 3