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
  • 1
  • 2
  • Next
yokowasis
Posts: 8
Joined: Wed Jun 28, 2017 2:40 am

Changing phpmyadmin Port
  • Quote

Post by yokowasis » Sat Jul 01, 2017 3:04 pm

Currently phpmyadmin is listening to the port 80

How can I change the port, so the vestacp and the phpmyadmin has the same port.
Top

Phogo
Posts: 60
Joined: Fri Dec 09, 2016 12:40 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Changing phpmyadmin Port
  • Quote

Post by Phogo » Wed Jul 05, 2017 3:30 pm

May I ask why?
Top

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

Re: Changing phpmyadmin Port
  • Quote

Post by skurudo » Thu Jul 06, 2017 3:09 pm

phpmyadmin is not listening any port
apache do, nginx too

phpmyadmin it's php script
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Changing phpmyadmin Port
  • Quote

Post by skamasle » Thu Jul 06, 2017 8:15 pm

Not is posible have phpmyadmin in same vesta port , because apache cant start there

If you want access to phpmyadmin from ip:8083/phpmyadmin you need install phpmyadmin under vesta directory /usr/local/vesta/web or something like that, not sure where exactly and I not know if this works
Top

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

Re: Changing phpmyadmin Port
  • Quote

Post by skurudo » Mon Jul 10, 2017 6:55 pm

skamasle wrote:not sure where exactly and I not know if this works
Trust me, it will not. Problem is vesta-php don't have that much modules as default apache package, for example mbstring and mysql(i). I hope after this release Vesta will support those additional modules and it can be possible have adminer/phpmyadmin inside VestaCP.
Top

yokowasis
Posts: 8
Joined: Wed Jun 28, 2017 2:40 am

Re: Changing phpmyadmin Port
  • Quote

Post by yokowasis » Tue Jul 11, 2017 3:19 am

Phogo wrote:May I ask why?
Because I want to auto login to phpmyadmin, And I can't login because I think it refuses POST from different port.
Top

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

Re: Changing phpmyadmin Port
  • Quote

Post by skurudo » Tue Jul 11, 2017 6:18 am

yokowasis, if you want auto-login, try something like this - http://subinsb.com/phpmyadmin-auto-login
But I think it's not very secure method.
Top

yokowasis
Posts: 8
Joined: Wed Jun 28, 2017 2:40 am

Re: Changing phpmyadmin Port
  • Quote

Post by yokowasis » Tue Jul 11, 2017 7:05 am

skurudo wrote:yokowasis, if you want auto-login, try something like this - http://subinsb.com/phpmyadmin-auto-login
But I think it's not very secure method.
That is not the kind of autologin I want. If you use cpanel, you never asked to input username / password on phpmyadmin. That's what I want to achieve.

I can't using POST, probably because different origin or something like that. That's why, maybe if they have the same port, I think it should work. Because when I tried using Centos Web Panel, it works fine.
Top

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

Re: Changing phpmyadmin Port
  • Quote

Post by skurudo » Tue Jul 11, 2017 9:53 am

Yep, but on same port with Vesta you can't do that yet -> viewtopic.php?f=10&t=14871#p61408
Top

yokowasis
Posts: 8
Joined: Wed Jun 28, 2017 2:40 am

Re: Changing phpmyadmin Port
  • Quote

Post by yokowasis » Tue Jul 11, 2017 2:22 pm

skurudo wrote:Yep, but on same port with Vesta you can't do that yet -> viewtopic.php?f=10&t=14871#p61408
In the mean time, I will use GET instead of POST.
Top


Post Reply
  • Print view

13 posts
  • 1
  • 2
  • Next

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