Heim  >  Artikel  >  php教程  >  phpMyAdmin安装注意事项

phpMyAdmin安装注意事项

WBOY
WBOYOriginal
2016-06-13 10:31:25808Durchsuche

php(做为现在的主流开发语言)MyAdmin安装注意事项
(php(做为现在的主流开发语言)MyAdmin-2.6.1-pl3 php(做为现在的主流开发语言)-4.3.10 apache(Unix平台最流行的WEB服务器平台)-2.0.53)
首先,php(做为现在的主流开发语言)必须安装正确
如果php(做为现在的主流开发语言)MyAdmin要使用http方式验证,php(做为现在的主流开发语言)必须以apache(Unix平台最流行的WEB服务器平台)模块形式安装
此外,还要添加mbstring支持
具体安装过程
./configure --with-apxs2=/usr/local/apache(Unix平台最流行的WEB服务器平台)/bin/apxs --enable-mbstring
(一般:./configure --prefix=/usr/local/php(做为现在的主流开发语言)4 --with-MySQL(和PHP搭配之最佳组合)=/usr/local/MySQL(和PHP搭配之最佳组合) --with-apxs2=/usr/local/apache(Unix平台最流行的WEB服务器平台)/bin/apxs --enable-mbstring)
make
make install
(FreeBSD)在/usr/local/apache(Unix平台最流行的WEB服务器平台)/etc/conf/httpd.conf中,添加
AddType application/x-httpd-php(做为现在的主流开发语言) .php(做为现在的主流开发语言)
AddType application/x-httpd-php(做为现在的主流开发语言)-source .php(做为现在的主流开发语言)s
检查是否有
LoadModule php(做为现在的主流开发语言)4_module modules/libphp(做为现在的主流开发语言)4.so
没有则添加

然后安装php(做为现在的主流开发语言)MyAdmin(一般就是解压)
修改
$cfg[PmaAbsoluteUri]
$cfg[Servers][$i][host]
$cfg[Servers][$i][auth_type] # 如果按apache(Unix平台最流行的WEB服务器平台)模块安装,就可以用http,按cgi(现在已经不多人在用了)就要用cookie

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn