Page 1 of 2

Changing phpmyadmin Port

Posted: Sat Jul 01, 2017 3:04 pm
by yokowasis
Currently phpmyadmin is listening to the port 80

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

Re: Changing phpmyadmin Port

Posted: Wed Jul 05, 2017 3:30 pm
by Phogo
May I ask why?

Re: Changing phpmyadmin Port

Posted: Thu Jul 06, 2017 3:09 pm
by skurudo
phpmyadmin is not listening any port
apache do, nginx too

phpmyadmin it's php script

Re: Changing phpmyadmin Port

Posted: Thu Jul 06, 2017 8:15 pm
by skamasle
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

Re: Changing phpmyadmin Port

Posted: Mon Jul 10, 2017 6:55 pm
by skurudo
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.

Re: Changing phpmyadmin Port

Posted: Tue Jul 11, 2017 3:19 am
by yokowasis
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.

Re: Changing phpmyadmin Port

Posted: Tue Jul 11, 2017 6:18 am
by skurudo
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.

Re: Changing phpmyadmin Port

Posted: Tue Jul 11, 2017 7:05 am
by yokowasis
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.

Re: Changing phpmyadmin Port

Posted: Tue Jul 11, 2017 9:53 am
by skurudo
Yep, but on same port with Vesta you can't do that yet -> viewtopic.php?f=10&t=14871#p61408

Re: Changing phpmyadmin Port

Posted: Tue Jul 11, 2017 2:22 pm
by yokowasis
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.