如何访问phpmyadmin的只有8080端口Apache中

编程入门 行业动态 更新时间:2024-10-26 04:24:15
本文介绍了如何访问phpmyadmin的只有8080端口Apache中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我试过

vim /etc/phpmyadmin/apache.conf

但我不能在这里放一个虚拟主机。

but I can not put a VirtualHost here.

我想改变这个配置只列出端口8080,谁能帮助?

I want to change this configuration to list only the port 8080, can anyone help?

感谢您

我要的是:

www.site/phpmyadmin -> failure www.site:8080/phpmyadmin -> OK

我要离开的端口80的网站的其余部分。

I want to leave access to port 80 for the rest of the site.

推荐答案

您可以Listen指令改为8080。

You can change the Listen directive to 8080.

搜索Apache配置为侦听,并从

Search the apache configuration for Listen and change it from

Listen 80

Listen 8080

和重新启动服务器。请记住,这将是全球整个Apache服务器虽然。在CentOS或红帽,它会被称为httpd.conf文件

And restart the server. Bear in mind, this will be global to the whole apache server though. On centos or redhat, it'll be called "httpd.conf"

更多推荐

如何访问phpmyadmin的只有8080端口Apache中

本文发布于:2023-08-07 13:59:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1319438.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:端口   phpmyadmin   Apache

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!