当前位置:网站首页>Apache初体验
Apache初体验
2022-08-11 04:31:00 【京都小白】
遇到的bug
Apache运行时以一种访问权限不允许的方式做了一个访问套接字的尝试
当我要运行Apache的时候,程序表示当前接口被占用,防止日后自己忘记了当下的操作,记录一下更改方案。
打开Apache——>conf——>httpd.conf,找到listen设置,我这里的是第67行第10列,把80改成81,这样子Apache使用的接口就从80变成了81。
但是这样访问以后要记得加上端口号81。
Apache的启动及停止方法
- 命令提示符
httpd -k start //启动
httpd -k stop //停止

2. exe启动
路径:Apache——>bin——>ApacheMonitor.exe
点击exe,桌面右下方会出现对应的图标,右击该图标有开始和停止选项,点击上面的Open Apache Monitor后会有框弹出,这里就可以选择开始或是结束。

3. 自己手动打开
win+r输入services.msc,找到Apache的服务,右键也有对应的开始和停止。

测试一下
如果你没有更换端口,那就直接点击http://localhost,如果换了端口,像我换成了81端口,那么就点击http://localhost:81,成功跳转如下:
边栏推荐
- About data paging display
- 简历里写了会代码,却依然过不了面试这一关
- 【服务器安装mysql】centos7下使用mysql离线安装包安装mysql5.7
- Switch---Spanning Tree---Three-layer Architecture Summary
- rub the heat - do not open
- Use Navicat Premium to export database table structure information to Excel
- The custom of the C language types -- -- -- -- -- - structure
- Clang Code Model: Error: The clangbackend executable “X:/clangbackend.exe“ could not be started
- 自研能力再获认可,腾讯云数据库入选 Forrester Translytical 报告
- send_sig: kernel execution flow
猜你喜欢

机器学习是什么?详解机器学习概念

Power Cabinet Data Monitoring RTU
![[FPGA] Design Ideas - I2C Protocol](/img/ad/7bd52222e81b81a02b72cd3fbc5e16.png)
[FPGA] Design Ideas - I2C Protocol

【人话版】WEB3将至之“权益的游戏”

leetCode刷题14天二叉树系列之《 110 平衡二叉树判断》

快速使用UE4制作”大场景游戏“
![[FPGA] day19- binary to decimal (BCD code)](/img/d8/6d223e5e81786335a143f135385b08.png)
[FPGA] day19- binary to decimal (BCD code)
![[C Language] Getting Started](/img/5e/484e3d426a6f1cc0d792a9ba330695.png)
[C Language] Getting Started

"239 Sliding Window Maximum Value" on the 16th day of LeetCode brushing

这些云自动化测试工具值得拥有
随机推荐
力扣——旋转数组的最小数字
【yolov7系列三】实战从0构建训练自己的数据集
洛谷P4847 银河英雄传说V2
这些云自动化测试工具值得拥有
send_sig: 内核执行流程
洛谷P2150 寿司晚宴
Echart地图的省级,以及所有地市级下载与使用
What is machine learning?Explain machine learning concepts in detail
【FPGA】abbreviation
JwsManager service interface implementation class - the jni implementation
The FTP error code list
Switch---Spanning Tree---Three-layer Architecture Summary
es-head plugin insert query and conditional query (5)
洛谷P2370 yyy2015c01 的 U 盘
.NET Custom Middleware
Object Creation and Display Transformation
Introduction to c # a week of high-level programming c # - LINQ Day Four
Add PRODUCT_BOOT_JARS and classes to provide jar packages to applications
shell监视gpu使用情况
【小记】BatchSize的数值是设置的越大越好吗