Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Just a few comments for anyone who might be struggling:
Configure the .htaccess file: AuthUserFile /path/to/passwords needs to be: AuthUserFile /path/to/passwords/.htpasswd
Create the htpasswd file: sudo htpasswd -c /path/to/passwords/.htpasswd username
Accessing phpMyAdmin: Before this will work, you need to restart the server again sudo service apache2 restart
Thank you for the comment and clarification. I have changed a few of the commands to make it clearer above.
Thanks for the quick update. Really great docs on the community and great service. Keep up the good work.
Hi,
i think this step:
“After the installation has completed, add phpmyadmin to the apache configuration in “/etc/apache2/apache2.conf” Include /etc/phpmyadmin/apache.conf”
should have this command: sudoedit /etc/apache2/apache2.conf
Thanks for your comment! I have updated the article to explicitly include a step on editing the apache configuration.
In Nginx you would have to set it up to parse PHP as by default Nginx is just a webserver which doesn’t have the ability to process PHP.
after I use this “sudo htpasswd -c /path/to/passwords/.htpasswd username” I got this message “cannot create file /path/to/passwords/.htpasswd”. I thought I followed the steps.