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 phpmyadmin on a server

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

This article will explain in detail how to install phpmyadmin on the server. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Download phpMyAdmin

Wget http://www.phpmyadmin.net/home_page/downloads.php

2. Decompress the downloaded files

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

Enter the specified directory

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

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

VI. Testing

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

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.

On how to install phpmyadmin on the server to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it 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