当前位置: 首页 > 知识库问答 >
问题:

我在ubuntu上安装XAMPP,我有错误打开它们知道

公冶桐
2023-03-14

我确实在ubuntu上安装了XAMPP,它运行得很好,但今天当我安装nessus时,我发现我无法进入phpmyadmin它给了我以下错误:

#2002 - No such file or directory
The server is not responding (or the local server's socket is not correctly configured). 

共有1个答案

陈昊昊
2023-03-14

在xampppath\apache\conf\额外打开的文件中httpd-xampp.conf

查找:

# Close XAMPP sites here
<LocationMatch "^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    Deny from all
    Allow from ::1 127.0.0.0/8 
    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>

取代

# Close XAMPP sites here
<LocationMatch "^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    Allow from all
    Allow from ::1 127.0.0.0/8
    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>

添加行:

/编辑/

在文件000 ispconfig的末尾。apache配置文件的sites enabled文件夹中的conf文件

<Directory /usr/share/phpMyAdmin>
Order allow,deny
Allow from all
</Directory>

重启xampp,一切都会好起来

 类似资料:
  • 我一直在尝试在ubuntu16上安装xampp(5.6.24)。04,但我遇到了以下错误- /opt/lampp/etc/httpd的第136行出现语法错误。conf:无法加载模块/mod_ssl。所以进入服务器:/opt/lampp/modules/mod_ssl。所以:无法打开共享对象文件:没有这样的文件或目录 我尝试过在互联网上搜索,但是找不到任何专门针对ubuntu的东西。 任何建议都可能

  • Francis@HomeLaptop:~/project/flybird$flutter构建apk您正在构建一个包含android-arm、Android-ARM64的二进制文件的胖apk。如果您正在将应用程序部署到Play Store,建议使用应用程序包或拆分APK以减小APK大小。要生成应用程序包,请运行:flutter build appbundle--目标平台android-arm,and

  • 1.这是我的代码 当我运行它时,(错误) internal/modules/cjs/loader.js:1080抛出新的ERR_REQUIRE_ESM(filename,parentPath,packageJsonPath);

  • 我没有设法在乌班图上完全安装mysql... 我在安装mysql时遇到了一个奇怪的问题! 当我在Ubuntu终端中输入这个命令时,我在安装mysql时遇到了以下错误: 当然,在此之前,我用下面的命令彻底删除了一次mysql: 和 和 导入这些命令后,我决定从第一个开始再次安装mysql,因此我输入了以下命令: 然后,我在终端内看到以下错误消息: 此MySQL安装已升级到5.7.27,如果您仍需要运

  • 我从Boost网站下载Boost 1.54 tar,然后按照此处详细说明进行操作[1]。 特别是,我想在文件夹中安装我的boost库 使用这个: 但在安装后,此文件夹仍为空。为什么? P.S.:最后的升压安装说明: [1] http://www.boost.org/doc/libs/1_54_0/more/getting_started/unix-variants.html

  • MongoDB shell v3.4.1连接到:MongoDB://127.0.0.1:27017 2017-12-06T12:16:58.540+0530 W网络[main]连接到127.0.0.1:27017失败,在(轮询后检查套接字错误),原因:连接拒绝2017-12-06T12:16:58.540+0530 E查询[main]错误:无法连接到服务器127.0.0.1:27017,连接尝试失