0

I installed nginx with php and mysql. The problem is that I have no default domain site/file in "sites-available". I want to configure /phpmyadmin to be accessible from every domain. After the installation though, I see the error 404, how can I fix this?

1 Answers1

0

My initial thought is I'd just include a location block that allows access to phpMyAdmin in each Nginx server/site config file. However since you have to tell phpMyAdmin the URL it's installed on I don't think that will work.

I think you may have to install it separately on each domain, unless someone else comes up with a better solution.

Tim
  • 31,888
  • 7
  • 52
  • 78
  • `PmaAbsoluteUri` is not required, it's optional and only of real use in very specific situations where phpMyAdmin can't automatically determine the path. So I think your suggestion is a good one, omitting the PmaAbsoluteUri directive entirely from `config.inc.php`. – ibennetch Sep 26 '16 at 20:50