Create virtual host for phpmyadmin
-
Hi.
How can I manually create a virtual host for phpMyAdmin (access to localhost/phpmyadmin with the domain mysql.test or phpmyadmin.test)?
Thanks.
-
@pwsandoval: Copy phpMyAdmin to C:\laragon\www\mysql
-
Another option to not move and only have in www folder the projects?
Maybe edit the hosts file and make another virtual host manually, but I do not know how to do this.
-
@pwsandoval : The easiest way is:
- Put an empty
mysql
in www - Let Laragon generate hosts entry & Virtual Host
- Change the DocumentRoot path in Virtual Host (Menu > Apache > sites-enabled > auto.mysql.test.conf) to the phpMyAdmin's path
- Reload Apache
That's all. You can delete the empty mysql.
- Put an empty
-
@leokhoa Done, thank you very much, (do you know why when I minimize the program it is hidden in the taskbar on the right and is not minimized like any other program? )
-
@pwsandoval : You're welcome. Let me check that case and get back to you later.