1. apt-get install phpmyadmin (make sure you have php and mysql installed)
2. change apache2 configuration according to /etc/phpmyadmin/apache.conf
3. /etc/init.d/apache2 restart
http://localhost/phpmyadmin
If you want to change the default hostname to other lets say phpownadmin rather than using the default one. you can edit the /etc/phpmyadmin directory
1. go to /etc/phpmyadmin/apache.conf
2. copy apache.conf to /etc/apache2/sites-available/phpownadmin
3. edit phpownadmin change the ff to
Alias /phpownadmin /usr/share/phpownadmin
<Directory /usr/share/phpownadmin>
4. rename your phpmyadmin directory located on /usr/share/phpmyadmin to /usr/share/phpownadmin
5. reload apache2
6. check using http://localhost/phpownadmin
No comments:
Post a Comment
If you have any suggestion or clarification you send it via on this form.