Jul 1, 2016 - 4 min - Uploaded by Safaa Al-Hayalithe solution for phpMyAdmin mbstring error: The mbstring extension is missing. Please check.
I installed apache2 and php in /usr/local by compiling files. I installed mysql and phpmyadmin by the following commands: sudo apt-get install mysql-server sudo apt-get -y install phpmyadmin Phpmyadmin is not running and this shows: The mysqli extension is missing.
Please check your PHP configuration. But i installed php with --mysqli:./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-maintainer-zts --with-mysqli.
I installed everything separately (Apache, PHP, MySQL and phpMyAdmin) and do not use a compilation, everything works fine till now except phpMyAdmin. The problem I am experiencing is, that the error message states that the 'MySQL extension is missing', as soon as I try to call up: localhost/phpmyadmin/index.php And when I call up localhost/phpmyadmin/setup/index.php I have two messages where I do not know if it is supposed to be like that: Bzip2 compression and decompression requires functions (bzopen, bzcompress) which are unavailable on this system. And: Zip decompression requires functions (zip_open) which are unavailable on this system. Any suggestions? At first make sure you have mysql installed properly.
You can ensure it just by checking that whether you can access mysql using mysql command promp. So if you mysql is working then probably it is not loading. For that follow the steps given below First of all, you must find your php.ini.
It could be anywhere but if you create a small php file with the script it will tell you where it is. Just look at the path of loaded configuration file. Common places include /etc/apache/, /etc/php4/apache2/php.ini, /etc/php5/apache2/php.ini or even /usr/local/lib/php.ini for Windows it may be C: Users username PHP php.ini Edit your server’s php.ini and look for the following line.
Remove the ‘;’ from the start of the line and restart Apache. Things should work fine now!;extension=mysql.so should become extension=mysql.so For windows it will be;extension=mysql.dll should become extension=mysql.dll. Just as others stated you need to remove the ';' from:;extension=php_mysql.dll and;extension=php_mysqli.dll in your php. Braunwald Cardiology 9th Edition Pdf. ini to enable mysql and mysqli extensions. But MOST IMPORTANT of all, you should set the extension_dir in your php.ini to point to your extensions directory. The default most of the time is ' ext'.
You should change it to the absolute path to the extensions folder. If you have your xampp installed on drive C, then C:/xampp/php/ext is the absolute path to the ext folder, and It should work like a charm!
Your installation is missing some php modules, there should be a list of required modules in the phpmyadmin readme. If you recently enabled the modules, try restarting the apache service / daemon. Edit: As it seems, there is no single 'enable these modules' in the docs, so enable either mysql or mysqli in your php.ini (you might need to install it first). The two messages are not important if you do not intend to upload or download compressed file within phpMyAdmin. If you do, enable the zlib and / or bz2 modules.