After installing phpMyAdmin, when you try to open http://localhost/phpmyadmin/index.php
in browser, you might get error The requested URL was not found on this server as below screenshot.
This error comes because your phpMyAdmin configuration for apache is not added in main Apache configuration file. The phpMyAdmin conf file stored at /etc/phpmyadmin/apache.conf
. You have to add this file in Apache configuration file at /etc/apache2/apache2.conf
.
First run below command to edit the file in nano editor.
sudo nano /etc/apache2/apache2.conf
And add the below line at the end of the file.
Include /etc/phpmyadmin/apache.conf
Now restart the apache web server.
sudo service apache2 restart
Now open the phpMyAdmin url in the browser. The error should have fixed.
Hi, My name is Harsukh Makwana. i have been work with many programming language like php, python, javascript, node, react, anguler, etc.. since last 5 year. if you have any issue or want me hire then contact me on [email protected]
How to create a string by joining the elements of an array in JavaScript
Use the JavaScript join() method You...How to create a PHP package for Composer
PHP has become more popular programing l...Laravel Collection map Method Example
Laravel collection provides reach method...Use PHP Code into Laravel Blade
in this article, I will share with you h...Laravel Collection count and countBy Method Example
In this article, we will discuss about h...