A few setup bug fixes.
Added support for phpmyadmin.