Sunday, 25 August 2013

Nginx, apache2, Varnish with PHPMyAdmin

Nginx, apache2, Varnish with PHPMyAdmin

I have an install of Nginx, apache2 and Varnish. I have setup the
following code in my default.vcl so when I browse to my /phpmyadmin it
doesn't redirect to 8080.
sub vcl_fetch {
if (req.url ~ "^/phpmyadmin") {
return (hit_for_pass);
}
}
I can login to PHPMyAdmin without redirect problems now. Although now
PHPMyAdmin spews this error:
Cannot start session without errors, please check errors given in your PHP
and/or webserver log file and configure your PHP installation properly.
Also ensure that cookies are enabled in your browser.
I have setup logs in multiple places, turned PHP's display_errors and
other error reporting variables on. I have tried multiple browsers.

No comments:

Post a Comment