Question

Configure phpmyadmin with varnish correctly (Not working)

Hello all, I have ubuntu 12.04 + apc + varnish Installing phpmyadmin before varnish works well, but when I install varnish this error comes up- http://postimg.org/image/bh1atlz9n/

I had that 8080 redirect problem but solved it by adding $cfg[‘PmaAbsoluteUri’] = ‘http://x.x.x.x/phpmyadmin’; in pma config

I have tried clearing browser cookies, in both firefox and IE.

My current session save path is /var/lib/php5 which seems to be writable since i can see some session files inside, but they are getting created with permissions - 0600,

Putting wrong username in x.x.x.x/phpmyadmin/index.php also produces same error

Please help Thanks


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Varnish + PHPMyAdmin error

I am running Ubuntu 16.04 LTS with

Apache + Nginx + Varnish + VestaCp + Zend Opache

when I installed Varnish on VestaCp, I was unable to login my phpmyadmin

I have edited nano /etc/phpmyadmin/config.inc.php

and put this line without any port number $cfg[‘PmaAbsoluteUri’] = ‘http://yoursitename/phpmyadmin/’;

under /* Authentication type */

and accessed phpmyadmin without any port

http://honestfeature.com/phpmyadmin

All is working perfect!

The above link is not working for me. but, 8080 works for me <br>I am using vestaCP, Nginx, Varnish <br> <br>I have edited <br>vi /etc/phpmyadmin/config.inc.php <br> <br>and put this line <br>$cfg[‘PmaAbsoluteUri’] = ‘http://yoursitename:8080/phpmyadmin/’; <br> <br>under <br>/* Authentication type */ <br> <br>

It is, but it’s listening on the loopback interface so you can’t access it remotely. <br> <br>See if <a href=“http://jesin.tk/installing-phpmyadmin-behind-varnish/”>http://jesin.tk/installing-phpmyadmin-behind-varnish/</a> helps.