CloudFlare Flexible SSL + phpMyAdmin + Linux [Tutorial]
Use a secure connection to your MySQL databases with phpMyAdmin + CloudFlare Flexible SSL.
0 - Preparing your domain and active CloudFlare
If you need help to setup CloudFlare to your domain, check help area in CloudFlare’s website: https://support.cloudflare.com/hc/en-us/categories/200275218
If you get any problem, leave a comment below and I’ll try to help best as I can.
1 – Hard hack to add Flexible SSL support to phpMyAdmin
This method will edit the original phpMyAdmin installation files. If you update the phpMyAdmin, probably you will need to repeat this method.
01.1 Edit “Config.class.php” file
nano +1302,17 /usr/share/phpmyadmin/libraries/Config.class.php
1.2 Replace “$pma_absolute_uri” concatenation
(just follow instructions in image below)
2 – Test
That’s it. Just go to your domain and try to enter into phpMyAdmin using https.
Example: https://siteexample.com/phpmyadmin/
Any problem?
Leave a comment below and I’ll try to help. 🙂