Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

Change Link to PhpMyAdmin (nginx, php-fpm)

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
CryptoEgg
Posts: 1
Joined: Mon Oct 31, 2016 5:36 pm

Change Link to PhpMyAdmin (nginx, php-fpm)
  • Quote

Post by 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.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

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

Post by skurudo » Wed Dec 07, 2016 1:08 pm

server -> configure -> DB -> phpMyAdmin URL
Top

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

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

Post by 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?
Top

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

Os: CentOS 5x
Web: nginx + php-fpm
Re: Change Link to PhpMyAdmin (nginx, php-fpm)
  • Quote

Post by dickbutt » Mon Nov 13, 2017 5:30 pm

i believe the option is in the phpmyadmin conf file
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Change Link to PhpMyAdmin (nginx, php-fpm)
  • Quote

Post by 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
Top

[email protected]
Posts: 9
Joined: Thu Jul 12, 2018 3:09 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Change Link to PhpMyAdmin (nginx, php-fpm)
  • Quote

Post by [email protected] » 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
Top

dnlx
Posts: 4
Joined: Thu Oct 10, 2019 2:26 pm

Os: CentOS 7x
Web: nginx + php-fpm
Re: Change Link to PhpMyAdmin (nginx, php-fpm)
  • Quote

Post by dnlx » Sun Jun 26, 2022 10:46 am

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.
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password