How do I hide phpmyadmin?


1. Where do I find it? -> WebAdmin> Virtual Hosts> Context

2. Is there a specific command to delete phpmyadmin without causing problems in wordpress?
Thank you!

To disable phpMyAdmin I used this command:

sudo a2disconf phpmyadmin.conf
sudo /etc/init.d/apache2 restart

To reactivate, I used this command:

sudo a2enconf phpmyadmin.conf
sudo /etc/init.d/apache2 restart

As I changed the server, it no longer worked. Only later did I see that the construction of the archives was different.

To deactivate and activate, is there a command also the same as above?
Or just through this? -> You can 1. change URL, 2. strict IP or 3. password required.



a2 commands is for apache only.

Well, you can also update the openlitespeed config directly, or even a shell command to change it. But there's no existing script/module like a2disconf/a2enconf for OLS.