I also tried hard coding extension=mysqli.so in php.ini which did not help. PhpMyAdmin: Missing extension mysqli. Windows, Mac OS X, Linux. I am having trouble enabling mysql in my php-config. Hp m7470n driver files for usb. Apt-get install php-mysql and apt-get install php7.0-mysql don't make a difference. Also, the shared object is missing from the php extension directory. I have used Meld to compare the php.ini files and the php_mysqli.dll file is uncommented on all three versions as is php_mysql.dll on both of the versions that support it. Mysqli extension not.
Active9 days ago
I have looked through all of the forums that I could find relevant to this question and my problem yet nothing works. I have apache2.2 with php5, phpMyAdmin, and MySQL. I have uncommented the extension, I have checked my
Francisco Couzophpinfo()
and mysqli does not come up. My config directory is where it should be and it still will not load.6,86433 gold badges2323 silver badges3333 bronze badges
WesleyWesley
Mysqli Extension Is Missing
6 Answers
I know this is a while ago but I encountered this and followed the other answers here but to no avail, I found the solution via this question (Stackoverflow Question)
Essentially just needed to edit the php.ini file (mine was found at c:xamppphpphp.ini) and uncomment these lines..
After restarting apache all was working as expected.
Community♦
sradforthsradforth
This article can help you Configuring PHP with MySQL for Apache 2 or IIS in Windows. Look at the section 'Configure PHP and MySQL under Apache 2', point 3:
You must uncomment extension_dir param line and set it to absolute path to the PHP extensions directory.
Dmytro ZarezenkoDmytro Zarezenko5,69777 gold badges4747 silver badges8383 bronze badges
- In file php.ini this line:extension=mysqli
- Replace by:extension='C:phpextphp_mysqli.dll'
- Restart apache
AAGREDAAAGREDA
Copy libmysql.dll from the PHP installation folder to the windows folder.
RM.RM.
I've been searching for hours and no one could help me. I did asimple thing to solve this problem. (WINDOWS 10 x64)
Follow this:
1 - Go to your php_mysqli.dll path (in my case: C:/xampp/php/ext);
2 - Move the php_mysqli.dll to the previous folder (C:/xampp/php);
Php Mysqli Class
3 - Open php.ini and search the line: 'extension: php_mysqli.dll';
4 - Change to the path where is your file: extension='C:xamppphpphp_mysqli.dll';
5 - Restart your application (wampp, xampp, etc.) and start Apache Server;
Mysqli Php Tutorial
The problem was the path ext/php_mysqli.dll, I've tried changing the line to extension='C:xamppphpextphp_mysqli.dll' but doesn't worked.
SpawnSpawn
I encountered this problem today and eventually I realize it was the comment on the line before the mysql dll's that was causing the problem.
This is what you should have in php.ini by default for PHP 5.5.16:
Hp flash drive driver. Free download bluetooth driver for hp pavilion g4. Besides removing the semi-colons, you also need to delete the line of comment that came after php_exif.dll. This leaves you with
This solves the problem in my case.
Vinci ChowVinci Chow
![Mysqli extension for php Mysqli extension for php](/uploads/1/2/6/1/126139148/355050552.png)