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 General Discussion
  • Search

Changing phpmyadmin Port

General questions about VestaCP
Post Reply
  • Print view
Advanced search
13 posts
  • Previous
  • 1
  • 2
noise
Posts: 5
Joined: Fri Sep 21, 2018 2:59 pm

Os: Ubuntu 16x
Web: nginx + php-fpm
Re: Changing phpmyadmin Port
  • Quote

Post by noise » Fri Sep 21, 2018 3:36 pm

Hi

is there any news or a good manual to set a port to myphpadmin ?
Top

canoodle
Posts: 48
Joined: Thu Nov 27, 2014 9:34 am

Re: Changing phpmyadmin Port
  • Quote

Post by canoodle » Thu May 16, 2019 7:08 pm

hello,

changing port for vestacp backend will also change port for /phpmyadmin

Code: Select all

vim /usr/local/vesta/nginx/conf/nginx.conf
# find this lines
# Vhost
    server {
        listen          8083; <- change new port

:wq # save and quit
# restart vesta
service vesta restart
what you can do is modify the /url/path/to/phpmyadmin

Code: Select all

vim /etc/httpd/conf.d/phpMyAdmin.conf

# find those lines
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin

# for example you can delete the first line
# and modify the second line:
Alias /top/secret/path/to/phpmyadmin /usr/share/phpMyAdmin

:wq # save and quit

# restart apache
service httpd restart
stay secure!

PS: Bonus question: What html file to modify in order to have a working link from vestacp backend?
Top

bart82
Posts: 2
Joined: Mon Jan 04, 2021 9:22 am

Os: CentOS 6x
Web: apache + nginx
Re: Changing phpmyadmin Port
  • Quote

Post by bart82 » Mon Jan 04, 2021 9:27 pm

Hi all,

I explained the solution in this thread: viewtopic.php?f=11&t=7073&p=83676#p83676
Top


Post Reply
  • Print view

13 posts
  • Previous
  • 1
  • 2

Return to “General Discussion”



  • 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