Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (6.1k points)
edited by
I am having apache 2.2 with php5, phpMyAdmin, and MySQL. I uncomment the extension, I have also checked my phpinfo() and mysqli does not come up. My config directory is where it should actually be and it still will not load.

3 Answers

0 votes
by (12.7k points)
edited by
  • Inside your Xampp folder, open the "php.ini" file which will be inside the PHP folder i.e xamppphpphp.ini (using any text editor).
  • Search for extension=mysqli (using Ctrl+F), or if there are two, look for the one that has been uncommented (without ";" behind)
  • Then change your mysqli with the correct path address i.e extension=C:xamppphpextphp_mysqli.dll.
  • Then open your Xampp control panel, stop and start apache and MySQL.

Interested in SQL ? Check out this SQL Certification by Intellipaat.

You can check out the below MySQL Tutorial video for better understanding.

0 votes
ago by (2.8k points)
Find "php.ini" within your directory by following these steps: Open any text editor to the PHP folderxampp\php\php.ini (using any text editor).

 Use Ctrl+F to find extension=mysqli, or if there are two entries, identify the one that is uncommented (without ";" at the beginning).

Next, you have to update your mysqli line with the correct path, which can read the extension=C:\xampp\php\ext\php_mysqli.dll.

 After that, launch your Xampp control panel, and then stop and restart both Apache and MySQL.
0 votes
ago by (1.9k points)

To locate the "php.ini" file inside your Xampp directory, navigate to the PHP folder at xampp\php\php.ini (using any text editor).
Use Ctrl+F to find extension=mysqli, or if there are two entries, identify the one that is uncommented (without ";" at the beginning).
Next, you have to update your mysqli line with the correct path, which can read the extension=C:\xampp\php\ext\php_mysqli.dll.
After that, launch your Xampp control panel, and then stop and restart both Apache and MySQL.

Related questions

0 votes
1 answer
asked Dec 22, 2020 in SQL by Appu (6.1k points)
0 votes
1 answer
asked Jan 8, 2021 in SQL by Appu (6.1k points)
0 votes
1 answer
asked Jan 3, 2021 in SQL by Appu (6.1k points)
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...