In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the method of downloading and installing phpmyadmin in ubuntu, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.
Use apt-ge to install phpmyadmin
1. Open the terminal and enter the command:
Sudo apt-get install phpmyadmin
[note]: the above command may not be able to obtain the lock, if so, use the following command:
Sudo rm / var/cache/apt/archives/locksudo rm / var/lib/dpkg/lock
Then execute:
Sudo apt-get install phpmyadmin
2. Due to network problems during installation, there may be
You can follow the prompts to try again.
3. The window prompts to select the server
Select apache2 enter
4. Set the password of phpMyAdmin
5. Enter the password of phpMyAdmin again to confirm
6. It is necessary to install dependent packages, because php7 does not come with php-mbstring,php-gettext packages by default.
You can also look for these two in the directory installed above, and execute them if not:
$sudo apt-get install php-mbstring$ sudo apt-get install php-gettext
Select the automatic configuration database during installation and enter the password of the database root account.
If you do not install the above two php packages, you will get an error or a white screen indicating that an error such as / usr/share/php/php-gettext/gettext.inc cannot be found.
7. Establish a soft connection under / var/www/html
$sudo ln-s / usr/share/phpmyadmin / var/www/html/phpmyadmin
Second, modify the PHP configuration file
[note]: php.ini file path. If you don't know, you can view it in the file. Screenshot:
Find etc/php/7.2/apache2/php.ini (the path uses its own path)
$sudo gedit / etc/php/7.2/apache2/php.ini
Search display_errors and find the second display_errors = On
Add a:; extension=php_mbstring.dll (enable mbstring)
3. Restart apache
$sudo / etc/init.d/apache2 restart
4. Log in to phpMyAdmin
Access the port localhost/phpmyadmin and enter the account password
Thank you for reading this article carefully. I hope the article "how to download and install phpmyadmin in ubuntu" shared by the editor will be helpful to everyone. At the same time, I also hope you can support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.