首页 > 编程 > PHP > 正文

phpMyAdmin安装注意事项

2019-11-18 16:29:57
字体:
来源:转载
供稿:网友

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


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表