永发信息网

linux 下安装xampp出现的错误 在线急等

答案:2  悬赏:60  手机版
解决时间 2021-05-03 21:30
  • 提问者网友:姑娘长的好罪过
  • 2021-05-03 13:37
安装xampp时出现如下错误:
/opt/lampp/bin/php: error while loading shared libraries: libz.so.1: cannot enable executable stack as shared object requires: Permission denied
XAMPP: Starting Apache with SSL ...
/opt/lampp/bin/httpd: error while loading shared libraries: libexpat.so.0: cannot enable executable stack as shared object requires: Permission denied
XAMPP: Error 127! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/
XAMPP: Starting MySQL...
/opt/lampp/bin/my_print_defaults: error while loading shared libraries: libz.so.1: cannot enable executable stack as shared object requires: Permission denied
/opt/lampp/bin/my_print_defaults: error while loading shared libraries: libz.so.1: cannot enable executable stack as shared object requires: Permission denied
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP: /opt/lampp/sbin/proftpd: error while loading shared libraries: libcrypto.so.0.9.8: cannot enable executable stack as shared object requires: Permission denied
XAMPP: Error 127! Couln't start ProFTPD!
XAMPP for Linux started.
请问该如何解决,
最佳答案
  • 五星知识达人网友:低音帝王
  • 2021-05-03 15:16
很简单 在根目录下输入setenforce 0就OK了 你试下
全部回答
  • 1楼网友:往事埋风中
  • 2021-05-03 16:24

Permission denied权限问题啊。。。

运行安装文件的命令前加上sudo这样的东西

或者终端输入su 切换到root用户来安装。

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯