Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Methods and steps of installing and configuring phpMyAdmin under centos

2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

It took me two nights to install and configure phpmyadmin under centos. I was so depressed that I couldn't. It was easy to configure phpmyadmin. It was very simple. When I first worked, it was very smooth. Five years later, it took me two nights. I felt that there were a lot of traps under centos, which seemed to work, but it was a dead end. So take notes.

Download the source package on phpMyAdmin's official website http://www.phpmyadmin.net/downloads/.

Cd / usr/local/srcwget https://files.phpmyadmin.net/phpMyAdmin/4.6.0/phpMyAdmin-4.6.0-all-languages.tar.gztar zxvf phpMyAdmin-4.6.0-all-languages.tar.gz

2. Put phpMyAdmin-4.6.0-all-languages under the web directory

Mv phpMyAdmin-4.6.0-all-languages / usr/local/nginx/html// rename mv phpMyAdmin-4.6.0-all-languages phpMyAdmin

III. Configuration

Cd / usr/local/nginx/html/phpMyAdmin/libraries

Vim config.default.php

/ / modify the following place / / localhost = > 127.0.0.1$ cfg ['Servers'] [$I] [' host'] = '127.0.0.1' [Servers'] [$I] ['user'] =' root';$cfg ['Servers'] [$I] [' password'] = '123456'

IV. Visit

This project is placed under the nginx test directory html

Enter http://localhost/phpMyAdmin in the browser

Then enter the user name and password.

5. Error message

1 、 the local server's socket is not correctly configured

The solution is as follows: modify host in the configuration file

/ / localhost = > 127.0.0.1$ cfg ['Servers'] [$I] [' host'] = '127.0.0.1'

The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report