- 安裝php5+Mysql
debian:~# apt-get install php5
debian:~# apt-get install php5-mysql
debian:~# apt-get install libapache2-mod-php5
debian:~# apt-get install mysql-server
debian:~# apt-get install phpmyadmin - 修改php.ini
debian:~# vi /etc/php5/apache2/php.ini
fix
;extension=mysql.so
to
extension=mysql.so - MySQL設定
Debian MySQL-Server安裝設定 - phpmyadmin
加上網頁驗證
debian:# vi /var/www/phpmyadmin/.htaccess
add
Require valid-user
AuthType Basic
AuthName "phpMyAdmin Setup"
AuthUserFile /var/www/phpmyadmin/.htpasswd
debian:# htpasswd -c /var/www/phpmyadmin/.htpasswd username
New password:
Re-type new password:
Adding password for user username
登入網站
http://myurl.org/phpmyadmin
語系選擇中文 - Chinese Traditional (utf-8)
2008年9月24日 星期三
安裝php+mysql+phpmyadmin
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言