linux 安装配置XAMPP

来源:互联网 发布:fifaol3数据库app 编辑:程序博客网 时间:2024/05/17 02:13

1. 下载xampp

官网地址:https://www.apachefriends.org/zh_cn/index.html

2. 添加执行权限

进入下载目录,添加执行权限。

chmod +x xampp-linux-x64-5.6.24-1-installer.run

3. 安装

使用超级用户权限进行安装

sudo ./xampp-linux-x64-5.6.24-1-installer.run

4. 运行

运行apache服务器时报错

httpd: Syntax error on line 136 of /opt/lampp/etc/httpd.conf: Cannot load modules/mod_ssl.so into server: /opt/lampp/modules/mod_ssl.so: cannot open shared object file: No such file or directoryapache config test fails, aborting

显示无法加载mod_ssl模块,最简单的方法,修改/opt/lampp/etc/httpd.conf,将136行的内容注释掉,再次运行,没有报错。在浏览器输入 http://localhost,可以访问到XAMPP默认界面。

0 0
原创粉丝点击