phpMyAdmin安裝注意事項
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)makemake 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
