When I go to localhost/phpmyadmin I get the apache "Not Found" error (404). However, I can load html pages, and run php pages (such as <?php phpinfo(); ?>). And phpmyadmin is installed.
balter@homedevbox:~$ aptitude search phpmyadmin
i phpmyadmin - MySQL web administration tool
I also installed the standard ubuntu LAMP stack and set passwords for mysql and all that.
What could be the problem?
EDIT:
Here is where my phpmyadmin files are.
balter@homedevbox:/var$ cd /
balter@homedevbox:/$ sudo find . -type d -name phpmyadmin
./var/lib/mysql/phpmyadmin
./var/lib/phpmyadmin
./etc/phpmyadmin
./usr/share/phpmyadmin
./usr/share/dbconfig-common/scripts/phpmyadmin
./usr/share/dbconfig-common/data/phpmyadmin
./usr/share/doc/phpmyadmin
phpmyadminfolder, is it in/var/www/html? – George Udosen Aug 08 '17 at 06:18sudo aptitude install phpmyadmin. – abalter Aug 08 '17 at 06:28locate phpmyadminlet's see where it is but I feel it's in the/optfolder mine is manually installed! – George Udosen Aug 08 '17 at 06:33returns nothing. But there are files in/etc/phpmyadmin`. – abalter Aug 08 '17 at 07:22/usr/share/phpmyadmin/to/var/www/html/phpmyadmin– George Udosen Aug 08 '17 at 15:52/etc/apache2/conf-available/phpmyadmin.conf, which is a symlink to/etc/phpmyadmin/apache.conf. So, just in case, you can try to enable this configuration file by the commandsudo a2enconf phpmyadmin, then restart Apache:sudo systemctl restart apache2.service. Please check this answer, I think it will give you an idea. – pa4080 Aug 08 '17 at 16:02sudo a2enconf phpmyadminI getERROR: Conf phpmyadmin does not exist!. So something clearly is going wrong with the installation. I uninstalled and then reinstalled (with aptitude). So something is not working. – abalter Aug 08 '17 at 18:10