Change Link to PhpMyAdmin (nginx, php-fpm)

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
CryptoEgg
Posts: 1
Joined: Mon Oct 31, 2016 5:36 pm

Change Link to PhpMyAdmin (nginx, php-fpm)

Postby CryptoEgg » Mon Oct 31, 2016 5:47 pm

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.

skurudo
VestaCP Team
Posts: 7798
Joined: Fri Dec 26, 2014 2:23 pm
Location: Moscow
Contact:

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

Postby skurudo » Wed Dec 07, 2016 1:08 pm

server -> configure -> DB -> phpMyAdmin URL
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now

brianbws
Posts: 8
Joined: Mon Aug 21, 2017 6:56 am

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

Postby brianbws » Sat Oct 28, 2017 4:17 am

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?

dickbutt
Posts: 2
Joined: Mon Nov 13, 2017 5:20 pm

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

Postby dickbutt » Mon Nov 13, 2017 5:30 pm

i believe the option is in the phpmyadmin conf file

mehargags
Moderators
Posts: 786
Joined: Sat Sep 06, 2014 9:58 pm
Contact:

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

Postby mehargags » 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


Return to “Database Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron