changing the phpmyadmin default url

后端 未结 3 1143
生来不讨喜
生来不讨喜 2020-12-30 11:51

I am wondering how to change the default URL for phpMyAdmin. I am using the latest version (4.0.4.1) on my CentOS 6 VPS. I am wanting to change it from /phpmyadmin to someth

3条回答
  •  灰色年华
    2020-12-30 12:55

    For ubuntu (i used ubuntu 12.04), the default phpmyadmin apache configuration can be found at /etc/phpmyadmin/apache.conf

    You can open it by type sudo nano /etc/phpmyadmin/apache.conf and change the third

    Alias /yournewalias /usr/share/phpmyadmin
    

    Do not forget to restart apache service,

    sudo service apache2 restart
    

提交回复
热议问题