Home >Backend Development >PHP Tutorial >404 error occurs when installing phpmyadmin under ubuntu_PHP tutorial

404 error occurs when installing phpmyadmin under ubuntu_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 11:15:591012browse

To install phpmyadmin under ubuntu, just one command:

Sudo apt-get install phpmyadmin

After the installation is complete, enter http://localhost/phpmyadmin in the browser

A 404 error occurs because the phpmyadmin directory is not mapped to the apache directory; modify it as follows:

Enter command:

Sudo ln –s /usr/share/phpmyadmin /var/www

Note: There is a space between /usr/share/phpmyadmin and /var/www. ln –s also has spaces

Just enter http://localhost/phpmyadmin in the browser.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/440128.htmlTechArticleTo install phpmyadmin under ubuntu, just one command: Sudo apt-get install phpmyadmin After the installation is completed, in the browser Enter http://localhost/phpmyadmin and a 404 error occurs. This is because there is no...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn