phpMyAdmin Installation instructions in Ubuntu
One. Download Apache/php/phpmyadmin
The relevant download address is as follows:
apche:http://httpd.apache.org/download.cgi
Php:http://cn.php.net/get/php-5.3.2.tar.gz/from/a/mirror
phpmyadmin:http://www.phpmyadmin.net/home_page/index.php
Files after download:
Httpd-2.2.15.tar.gzphp-5.3.2.tar.gzphpmyadmin-3.3.1-all-languages.zip
?
Two. Installation
1. Installing Apache
TAR-ZXVF httpd-2.2.15.tar.gzcd httpd-2.2.15./configure--prefix=/usr/local/apache/--enable-somakemake Install
2. Install PHP
TAR-ZXVF php-5.3.2.tar.gzcd php-5.3.2./configure \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-mysql= /usr/include/mysql \ --prefix=/usr/local/apache/php \ --with-config-file-path=/usr/local/apache/php \ Makemake Install
If there is no/usr/include/mysql in the system, you need to install Libmysqlclient15-dev and install it via apt.
Apt-get Install Libmysqlclient15-dev
3. Installing phpMyAdmin
Unzip PHPMYADMIN-3.3.1-ALL-LANGUAGES.ZIPMV phpmyadmin-3.3.1-all-languages PHPADMINMV phpadmin/usr/loca/apache/ Htdocs
If you visit PHP page, Apache directly display (unable to parse) PHP source code, modify the Apache configuration file
/usr/local/apache/conf/http.conf
Check that the LoadModule php5_module path is correct
LoadModule php5_module??????? Modules/libphp5.so
To find AddType, modify the contents as follows:
AddType application/x-compress. Z AddType application/x-gzip. gz. tgz addtype application/x-httpd-php. php AddType application/ x-httpd-php. htm
Restart Apache,
/usr/local/apache/bin/apachectl restart
?
Test the PHP run condition.
Create a new page named test.php, which reads as follows:
Visit this page, if you can display the PHP version of the relevant information, the installation is correct, if not normal display, please check whether the section
Installed correctly.
?
Refer to the phpMyAdmin documentation for detailed configuration instructions for phpMyAdmin. By default, MySQL can be accessed normally.
Good Luck.