xampp安装及配置
作者:互联网
xampp套件下载地址:https://www.apachefriends.org/index.html
# 安全性及FTP/MYSQL密码设置
/opt/lampp/lampp security
# 关闭443端口
/opt/lampp/lampp disablessl
mysql配置:
1、支持远程访问phpmyadmin工具
vim /opt/lampp/etc/extra/httpd-xampp.conf
# since XAMPP 1.4.3 <Directory "/opt/lampp/phpmyadmin"> AllowOverride AuthConfig Limit #Require local Require all granted ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory>
2、修复问题:
vim /opt/lampp/phpmyadmin/config.inc.php
/** * This is needed for cookie based authentication to encrypt password in * cookie. Needs to be 32 chars long. */ $cfg['blowfish_secret'] = 'xamppasdfghjklpoiuytrewqazxcvbnm'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */
修改root权限支持远程操作数据库:
标签:opt,phpmyadmin,xampp,配置,vim,XAMPP,lampp,安装 来源: https://blog.csdn.net/lsl_zhulin/article/details/115616429