Any PHP extension can be compiled and installed separately within the PHP source bundle
Here due to phpMyAdmin need mysqli extension, compile the module installation, process and some issues are recorded as follows:
PHP Compiled installation path/usr/local/php5.6
MySQL compilation installation path/usr/local/mysql5.6
Enter the PHP source installation package under the mysqli extension path
# Cd/tmp/php-5.6.15/ext/mysqli
Generate Configure File
#/usr/local/php5.6/bin/phpize
Configuration
#./configure--with-php-config=/usr/local/php5.6/bin/php-config/
--with-mysqli=/usr/local/mysql/bin/mysql_config
Compile the installation, if there are no errors during the configuration process, if you encounter any errors at compile time, you will need to recompile PHP and attach
--with-mysql=shared,mysqlnd--enable-sockets=shared These two parameters and recompile
# Make && make install
Installing Shared extensions:/usr/local/php5.6/lib/php/extensions/no-debug-non-zts-20131226/
Installing header files:/usr/local/php5.6/include/php/
View So file
ls/usr/local/php5.6/lib/php/extensions/no-debug-non-zts-20131226/
Mysqli.so
Modify PHP.ini
Add it below the dynamic extensions comment
Extension=/usr/local/php5.6/lib/php/extensions/no-debug-non-zts-20131226/mysqli.so
PHP add mysqli Extension