PHPMyAdmin on Digital Ocean

sudo apt-get install phpmyadmin

If you’re using apache server, then do this:

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf

sudo a2enconf phpmyadmin.conf

sudo service apache2 reload

If you’re using Nginx, then do this:

sudo ln -s /user/share/phpmyadmin /var/www/public_html/phpmyadmin

nginx -s reload

Related Articles

MemberPress Check active

add_action ( ‘template_redirect’, ‘redirect_custom_nonactive’ );function redirect_custom_nonactive(){if ( current_user_can(‘mepr-active’) && is_front_page() ) {echo ‘Welcome, active member user!’;}else { echo ‘Welcome, non-active registered user!’;} }

Paid Membership Pro Css Tweaks

form.pmpro_form .input, form.pmpro_form textarea, form.pmpro_form select, #loginform input[type=text], #loginform input[type=password] {display: block;max-width: 100%;width: 480px;margin: 0 auto; } form.pmpro_form label, #loginform label {font-weight: 700;display: block;margin: 0…