phpMyAdmin configuration problem Solving under Ubuntu

Source: Internet
Author: User
Tags mcrypt

The first configuration of the working environment, lamp is the selected integrated image.

Then it is possible to be spoiled by tools such as Xampp,wamp, and the problem comes when the manual configuration is in hand (not excavators, of course).

The first is the installation, Unbuntu with the source of phpMyAdmin, so take it for granted

sudo apt-get phpmyadmin

Who knows this is the source of the error, in fact, it is best to download the source code manually installed, because such words are more familiar with the path, the various paths for beginners Linux is simply a nightmare.

Then follow the online method to map the path under/var/share/phpmyadmin to/www/var.

After opening the silly, once reported three questions.

1. Using the control user connection defined in the configuration file failed.

2.phpMyAdmin advanced features are not fully set and some features are not activated.

3. Missing mcrypt extension.

The first two are phpmyadmin configuration problems, the third is that PHP is missing the corresponding module.

So the phpMyAdmin cut into English version, according to the error message on the StackOverflow to find a solution.

Stcakoverflow on the method is very detailed, first find the simple folder under the Create_tables.sql, of course, through the Apt-get installed unexpectedly can not find this folder ... You immediately download a version of phpMyAdmin, import the file into the phpMyAdmin, or directly open the SQL statement inside the execution.

phpMyAdmin will create a new database called phpMyAdmin. Then modify/etc/phpmyadmin/config.inc.php this file to configure, respectively, in

$cfg ['Servers'] [$i] ['user'enter_username_ here '; $cfg ['Servers'] [$i] ['password  "'enter_password_here';

Fill in the user name and password, save, re-login phpmyadmin, problem 1. Fix It!

Then re-open the configuration file will be the following//commented out of the module is to remove the comments, save, re-login phpMyAdmin, the problem is still ...

After being troubled for a long time, after a search only to find that the module named phpMyAdmin, in different versions between the changes, but the configuration file has not changed. Specifically, the module name in the configuration file behind the Pma_ single underline changed to pma__ two underline. Alas, sad, renamed what to do. As you can see, phpMyAdmin should save all the modules in the database and invoke the specific content by name.

OK save, re-login phpmyadmin, question 2. The solution, while shedding the tears of the moved.

The third problem through the search after the discovery is to compile the PHP source package is to manually install the PHP module, can only say that the Minister concubine, Minister concubine do not ah. Finally found that Ubuntu can actually be installed directly through the Apt-get module. So

Install Php5-mcrypt

Problem solved, finally can be happy to eat.

phpMyAdmin configuration problem Solving under Ubuntu

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.