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

How to install and configure phpmyadmin on the server

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

This article is about how to install and configure phpmyadmin on the server. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

1. Download phpMyAdmin

Https://www.phpmyadmin.net/downloads/

two。 Extract the downloaded file

Tar-zvxf phpMyAdmin-3.5.3-all-languages.tar.gz

3. Move the decompressed files to the specified directory

Mv phpMyAdmin-3.5.3-all-languages / usr/share/phpMyAdmin

4. Enter the specified directory

Cd / usr/share/phpMyAdmincp config.sample.inc.php config.inc.php

5. Create a configuration file under apache

Vi / etc/httpd/conf.d/phpmyadmin.conf

Insert the following:

# # Web application to manage MySQL # Order deny,allow # Deny form all # Allow from localhost # Alias / phpmyadmin / usr/share/phpMyAdmin Alias / phpMyAdmin / usr/share/phpMyAdmin Alias / mysqladmin / usr/share/phpMyAdmin

6. test

Restart mysql and apache and type: your ip/phpMyAdmin in the browser to display the login screen.

Note:

If you report an error that your php does not support the mysqli extension, you may not have installed the mysql module when you installed php. Follow the steps below to solve the problem:

Yum install php-mysql

Then add extension=mysqli.so to php.ini

Restart mysql and apache, type: your ip/phpMyAdmin in the browser again, and the login screen will be displayed correctly.

Done!

Thank you for reading! This is the end of the article on "how to install and configure phpmyadmin on the server". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

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

Database

Wechat

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

12
Report