Phpmyadmin too many redirects

Base

New Member
#1
I can't figure out how to access phpmyadmin when installing straight from a linode or digitalocean stackscript for Openlitespeed with Wordpress.

I keep getting this error from a fresh instance and I have tried multiple times, as well as disabling UFW.

<ip> redirected you too many times.
  • Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

It is also adding an extra trailing slash: http://<ip>/phpmyadmin//

If I go to http://<ip>/phpmyadmin/index.php it sends me to the wordpress 404 error.
 
#4
Just wanted to register to addd a resolution here as I Googled my life away and could only find this one. It seems like there's an issue with the distribution, and this appears to be the fix:

1. Open your Litespeed Control Panel (https://<IP ADDRESS>:7080) (from a Browser other than Chrome to avoid the cert issue)
2. Click on 'Virtual Hosts'
3. Click the 'View' button next to 'wordpress'
4. Click the 'Context' tab
5. Click the 'Edit' button next to '/phpmyadmin/'
6. Modify it to read '/phpmyadmin' (remove the trailing slash)
7. Save the config
8. Perform a Graceful Restart of the Litespeed server!

You can then access PHPMyAdmin via http://<IP ADDRESS>/phpmyadmin

Hope this helps someone out! Merry Christmas!

Evan
 
Top