Phpmyadmin Installation Process

Source: Internet
Author: User
Phpmyadmin installation process-Linux Enterprise Application-Linux server application information. The following is a detailed description. I. Software Installation Package
1.httpd-2.2.6.tar.gz
2.php-5.2.5.tar.gz
3.phpMyAdmin-2.11.5.1-all-languages.tar.gz
4.php-mysqlnd-5.0.1-beta.tar.gz

Ii. Install httpd of apache
# Tar xf httpd-2.2.6.tar.gz
# Cd httpd-2.2.6
#./Configure -- prefix =/usr/local/apache2 -- enable-module = so
# Make
# Make install

3. Install php5
# Tar xf php-mysqlnd-5.0.1-beta.tar.gz
# Tar xf php-5.2.5.tar.gz
# Cd php-5.2.5
# Rm-f-R ext/mysqli
# Cp-R ../php-mysqlnd-5.0.1-beta/php5/ext/mysqli./ext/
#./Buildconf -- force
#. /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
# Make
# Make install
# Cp php. ini-dist/usr/local/lib/php. ini

4. Install phpMyAdmin (assuming the installation directory is/webapp/phpMyAdmin)
# Tar xf phpMyAdmin-2.11.5.1-all-languages.tar.gz
# Music phpMyAdmin-2.11.5.1-all-languages/webapp/phpMyAdmin

5. Configure httpd. conf of apache
# Vi/usr/local/apache2/conf/httpd. conf
1) Change the DocumentRoot and Directory to/webapp/phpMyAdmin.
2) add index. php to DirectoryIndex
3) add php extension types:
AddType application/x-httpd-php. php. phtml. php3. inc
AddType application/x-httpd-php-source. phps

6. Configure phpMyAdmin
# Cd/webapp/phpMyAdmin
# Cp config. sample. inc. php config. inc. php
# Vi config. inc. php
Configure the following fields. If you do not have any fields, add them by yourself:
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'config'; // Authentication mode, which can be cookie, http, and config
$ Cfg ['blowfish _ secret '] = 'mabiqiang'; // password phrase used for cookie Authentication
$ Cfg ['servers'] [$ I] ['host'] = '2017. 0.0.1 '; // set the access IP address of your database server
$ Cfg ['servers'] [$ I] ['user'] = 'root'; // name of the access user in config Authentication Mode
$ Cfg ['servers'] [$ I] ['Password'] = 'root'; // access password in config Authentication Mode
$ Cfg ['servers'] [$ I] ['connect _ type'] = 'tcp '; // connection method, tcp (default) or socket
$ Cfg ['servers'] [$ I] ['extension'] = 'mysqli'; // MYSQL extension, which can be mysql or mysqli (MYSQL 4.1.0 or later is recommended)
$ Cfg ['servers'] [$ I] ['only _ db'] = array ('db1', 'db2 '); // only displays the specified database, string or Array

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.