Solved the phpmyadmin install part. I removed /usr/local/nginx/conf/conf.d/phpmyadmin_ssl.conf.bak. I'll get back with the rest of the issues in a few minutes.