Page 1 of 1

Change Link to PhpMyAdmin (nginx, php-fpm)

Posted: Mon Oct 31, 2016 5:47 pm
by CryptoEgg
Hi,

I want to change the url that is linking to PhpMyAdmin by default (mydomain.com/phpmyadmin). I have ubuntu 14.04, nginx and php5-fpm configuration (no apache). Where can I find the configuration files and what part should I change?

I thank you in advance.

Re: Change Link to PhpMyAdmin (nginx, php-fpm)

Posted: Wed Dec 07, 2016 1:08 pm
by skurudo
server -> configure -> DB -> phpMyAdmin URL

Re: Change Link to PhpMyAdmin (nginx, php-fpm)

Posted: Sat Oct 28, 2017 4:17 am
by brianbws
That field doesn't seem to do anything for me. I can still access phpmyadmin at /phpmyadmin/ after changing it.

Did anyone else find an answer for nginx?

Re: Change Link to PhpMyAdmin (nginx, php-fpm)

Posted: Mon Nov 13, 2017 5:30 pm
by dickbutt
i believe the option is in the phpmyadmin conf file

Re: Change Link to PhpMyAdmin (nginx, php-fpm)

Posted: Mon Nov 13, 2017 9:29 pm
by mehargags
Change phpmyadmin to pma (or whatever you feel like the URL to be in

Code: Select all

nano /etc/nginx/conf.d/phpmyadmin.inc
Replace all location block text phpmyadmin with pma or whatever you like
Refer the screenshot https://prnt.sc/ha2ceh

Re: Change Link to PhpMyAdmin (nginx, php-fpm)

Posted: Thu Jul 19, 2018 3:01 pm
EDIT: this link fixed it for me viewtopic.php?f=10&t=5264

Hi,

I have tried both suggestions in this thread (nano /etc/nginx/conf.d/phpmyadmin.inc and server -> configure -> DB -> phpMyAdmin URL), but neither made a change.

Can someone please help me change the URL for phpmyadmin?

Thanks,
Justin

Re: Change Link to PhpMyAdmin (nginx, php-fpm)

Posted: Sun Jun 26, 2022 10:46 am
by dnlx
mehargags wrote:
Mon Nov 13, 2017 9:29 pm
Change phpmyadmin to pma (or whatever you feel like the URL to be in

Code: Select all

nano /etc/nginx/conf.d/phpmyadmin.inc
Replace all location block text phpmyadmin with pma or whatever you like
Refer the screenshot https://prnt.sc/ha2ceh
I have tried both options, changing from:

Code: Select all

Server > configure > db > phpMyAdmin URL

And:

Code: Select all

nano /etc/nginx/conf.d/phpmyadmin.inc
But not working, after changing phpmyadmin url the new url go to a 404 page, when go to the new URL after change from phpmyadmin.inc a file is downloaded.

I'm using nginx + php-fpm with centos7

Anyone can help me please? Thank you.