phpMyAdmin安裝注意事項
(phpMyAdmin-2.6.1-pl3 php-4.3.10 apache-2.0.53)
首先,PHP必須安裝正確如果phpMyAdmin要使用http方式驗證,PHP必須以apache模組形式安裝此外,還要添加mbstring支援具體安裝過程
./configure --with-apxs2=/usr/local/apache/bin/apxs --enable-mbstring
(一般:./configure --prefix=/usr/local/php4 --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-mbstring)
make
make install
(FreeBSD)在/usr/local/apache/etc/conf/httpd.conf中,加入
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
檢查是否有
LoadModule php4_module modules/libphp4.so
沒有則添加
然後安裝phpMyAdmin(通常是解壓縮)
修改
$cfg['PmaAbsoluteUri']
$cfg['Servers'][$i]['host']
$cfg['Servers'][$i]['auth_type'] # 如果按apache模組安裝,就可以用http,按cgi就要用cookie