HOW-TO:- Solve phpmyadmin is not working but MySQL accessed using Ubuntu cmd

Here is the error:
==================================================

Not Found

The requested URL /phpmyadmin was not found on this server.

Apache/2.4.18 (Ubuntu) Server at localhost.com Port 80

==================================================

To solve this you need to open Terminal in Ubuntu and type the below commands.

  1. cd /etc/apache2 
  2. Give permission to apache2.conf to edit the file - sudo chmod -R 0777 apache2.conf
  3. Now, type vi apache2.conf the file will to edit, click i to bring terminator/terminal in editing mode
  4. Enter the line at the end of the file in apache2.confInclude /etc/phpmyadmin/apache.conf
  5. Save it by typing :wq! and hit Enter.
  6. Then restart apache by typing /etc/init.d/apache2 restart in terminal, it'll ask for system password to restart apache
  7. You can also start apache by using command - sudo service apache2 restart
    
    

Comments

Popular Posts