phpMyAdmin assembly instructions in Ubuntu

Source: Internet
Author: User
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.

  • 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.