PHP add mysqli Extension
Any PHP extension can be compiled separately in PHP source package installation here because phpMyAdmin need mysqli extension, compile the module installation, process and some issues are recorded as follows: PHP compilation installation path/usr/local/php5.6mysql compile installation path/usr /local/mysql5.6 Enter the mysqli extension path of the PHP source installation package # 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 compiles the installation, if there are no errors during the configuration, if you encounter any errors at compile time, you need to recompile PHP and attach--with-mysql=shared,mysqlnd--enable-sockets= Shared these two parameters can be re-compiled # make && make installinstalling 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 to the dynamic extensions comment below extension=/usr/local/ Php5.6/lib/php/extensions/no-debug-non-zts-20131226/mysqli.so
http://www.bkjia.com/PHPjc/1075798.html www.bkjia.com true http://www.bkjia.com/PHPjc/1075798.html techarticle php add mysqli Extension any PHP extension can be in the PHP source package compiled separately installed here because phpMyAdmin need to mysqli extension, compile the module installation, process and some problems recorded as follows: ...