The former is the latest recommended php access driver for mysql by mysql. In addition, for the installation of php5, I used php-mysqlnd-5.0. officially provided by mysql instead of mysql-dev. The above is the basic configuration information of phpMyAdmin, which needs to be adjusted according to individual circumstances. $cfg = array('db1','db2') //Only display the specified database,String or array $cfg ='mysqli' //MYSQL extension can be mysql and mysqli (mysql4.1.0 or above is recommended)
$cfg ='tcp' //Connection method, tcp (default) or socket $cfg = 'root' //Access password for config authentication mode $cfg ='root' //Access user name in config authentication mode $cfg = '127.0.0.1' //set up your database server Access IP $cfg ='mabiqiang' //use cookie authentication pass phrase Just configure the following fields, you can add the ones you don’t have: $cfg ='config' //Authentication mode, which can include cookie, http and config incĪddType application/x-httpd-php-source. #mv phpMyAdmin-2.11.5.1-all-languages /webapp/phpMyAdminġ) Change the DocumentRoot and Directory directories to:/webapp/phpMyAdminĪddType application/x -httpd-php. install phpMyAdmin (assuming the installation directory is:/webapp/phpMyAdmin) #./configure -prefix=/usr/local/php5 -with-apxs2=/usr/local/apache2/bin/apxs -with-config-file-path=/usr/local/lib -enable-track-vars -with-xml -with-mysqli -enable-mysqlnd -with-mbstring -enable-mbstring=allĤ. #./configure -prefix=/usr/local/apache2 -enable-module=so
PHPMYADMIN FOR PHP 5.2 HOW TO
Recently, due to the need to use phpMyAdmin to manage the mysql database on the server, I learned how to install phpMyAdmin today, and also recorded it for future reference.ģ.phpMyAdmin-2.11.5.