Report this

What is the reason for this report?

Configure phpmyadmin with varnish correctly (Not working)

Posted on January 7, 2014

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



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!

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.

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>

Try browsing to port :8080 directly for accessing phpmyadmin.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.