Mysqli_connect not recognized

I am using XAAMP in windows 10. I am getting errors on all Php_mysqli functions not recognized. Call to undefined function mysqli_connect(). It appears the DLL is not loading. I changed and activated the extension= php_mysqli.dll in PHP ini file several times and taken the “;” off. Can you give me some suggestions? Should I use LAMP or WAMP?
Sukhen DeyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Likely what's occurred is you've installed an outdated version of PHP.

Be sure you're running... this morning latest is... PHP-7.2.9.1 + your mysqli_*() calls will work.

You can verify which PHP is actually running by creating a phpinfo.php file which calls phpinfo().
0
Sukhen DeyAuthor Commented:
Thanks, David. Let me try. I have installed the PHP 5+ version. It appears XAAMP does not have anything to do with it. If you have any other comments, please share. Dr. Dey
0
Dave BaldwinFixer of ProblemsCommented:
After changing 'php.ini', you normally need to restart the server to pick up the changes.
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

Dave BaldwinFixer of ProblemsCommented:
The current version of XAMPP for Windows comes with PHP 7.2.8.  https://www.apachefriends.org/index.html
0
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
PHP 5+ provides to little information...

For example, 5.6 will work, 5.5.X + below... depending on exact value of X + where you got your PHP packaged, may or may not work.

As Dave mentioned, current version of PHP... let's see... I see... PHP-7.2.9.1 installed for all my sites now, so you get the idea.

Keep in mind 5.6/7.0 EOL (end of life) January 2019.

Do yourself a favor, install PHP-7.2 for your project.
0
Sukhen DeyAuthor Commented:
Thanks, Dave. I am trying everything. I think it is something in my PHP.ini file. I am not sure if you can either attach a file or send me some lines I need to adjust. I am sure, I am missing something. Thanks a million.
0
Bernard S.CTOCommented:
As suggests David, you should run phpinfo.
this will confirm/infirm that mysqli is installed
mmmhhh... how did you chek that your sql server is running?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.