Change Link to PhpMyAdmin (nginx, php-fpm)
Change Link to PhpMyAdmin (nginx, php-fpm)
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.
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)
server -> configure -> DB -> phpMyAdmin URL
Re: Change Link to PhpMyAdmin (nginx, php-fpm)
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?
Did anyone else find an answer for nginx?
Re: Change Link to PhpMyAdmin (nginx, php-fpm)
i believe the option is in the phpmyadmin conf file
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Change Link to PhpMyAdmin (nginx, php-fpm)
Change phpmyadmin to pma (or whatever you feel like the URL to be in
Replace all location block text phpmyadmin with pma or whatever you like
Refer the screenshot https://prnt.sc/ha2ceh
Code: Select all
nano /etc/nginx/conf.d/phpmyadmin.inc
Refer the screenshot https://prnt.sc/ha2ceh
-
- Posts: 9
- Joined: Thu Jul 12, 2018 3:09 pm
- Os: Ubuntu 15x
- Web: apache + nginx
Re: Change Link to PhpMyAdmin (nginx, php-fpm)
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
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)
I have tried both options, changing from:mehargags wrote: ↑Mon Nov 13, 2017 9:29 pmChange phpmyadmin to pma (or whatever you feel like the URL to be in
Replace all location block text phpmyadmin with pma or whatever you likeCode: Select all
nano /etc/nginx/conf.d/phpmyadmin.inc
Refer the screenshot https://prnt.sc/ha2ceh
Code: Select all
Server > configure > db > phpMyAdmin URL
And:
Code: Select all
nano /etc/nginx/conf.d/phpmyadmin.inc
I'm using nginx + php-fpm with centos7
Anyone can help me please? Thank you.