Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Installing WordPress Locally Installing WordPress Locally Setting up the Environment

Tetsuya Uno
Tetsuya Uno
21,024 Points

Error: The mysqli extension is missing.

When I click "phpMyAdmin", it gives me an error, The mysqli extension is missing. Please check your PHP configuration. See our documentation for more information. http://localhost/phpMyAdmin/doc/html/faq.html#faqmysql I still don't understand what I have to do to solve this even after reading the documentation. Could anyone help?

Liam Maclachlan
Liam Maclachlan
22,805 Points

Hi Tetsuya,

Can you give us some more information about your development environment?

  • xampp/mamp/wamp?
  • PHP versions
  • operating systems

Cheers Liam

1 Answer

Liam Maclachlan
Liam Maclachlan
22,805 Points

Bit off topic but for local WordPress development, I'd recommend using Local by Flywheel. It was built to make local development painless for WordPress developers and will more than likely resolve your problem.

You may have an old version of the local environment running so it may be worth upgrading as all the local servers will come with the mysqli package installed:

Hope this helps :)

Tetsuya Uno
Tetsuya Uno
21,024 Points

Hi Liam, Thank you for the kind answer. It worked after I uninstalled MAMP and installed XAMPP. Maybe because I am using Windows?