apache - xampp-control“开始”操作按钮运行 httpd.exe 但不会更新控制窗口
问题描述
我已经下载了 xampp-windows-x64-7.3.2-0-VC15-installer.exe 并默认安装到 c:\xampp\ 文件夹。
单击“开始”按钮加载 Apache 服务器后,我看到控制窗口尝试启动 Apache,但状态窗口中没有其他内容。我检查了 httpd.exe,它正在运行。在网络浏览器中查看 localhost,我看到 Apache 服务器已经在运行,但是控制窗口仍然不会显示停止按钮,或者指示是否有错误。我还发现 mysql 也出现了同样的问题,单击启动按钮运行 mysql 服务器,但控制窗口不会更新为显示停止而不是启动。
我还注意到,当我点击开始按钮而不更新控制窗口时,端口会打开。
此外,要停止 apache 服务器,运行 xampp-stop.exe 最终会同时停止 mysql 和 apache。之后港口将按预期关闭。
PS:以管理员身份运行具有相同的结果。
请任何人都可以提出一个解决方案来让控制窗口在服务器运行时更新?
03:44:33 PM [main] Initializing Control Panel
03:44:33 PM [main] Windows Version: Windows 7 Ultimate SP1 64-bit
03:44:33 PM [main] XAMPP Version: 7.3.2
03:44:33 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
03:44:33 PM [main] You are not running with administrator rights! This will work for
03:44:33 PM [main] most application stuff but whenever you do something with services
03:44:33 PM [main] there will be a security dialogue or things will break! So think
03:44:33 PM [main] about running this application with administrator rights!
03:44:33 PM [main] XAMPP Installation Directory: "c:\xampp\"
03:44:33 PM [main] Checking for prerequisites
03:44:33 PM [main] All prerequisites found
03:44:33 PM [main] Initializing Modules
03:44:33 PM [main] Starting Check-Timer
03:44:33 PM [main] Control Panel Ready
03:49:50 PM [Apache] Attempting to start Apache app...
xampp-control.exe 启动 apache 和 mysql 但不会在屏幕上更新应用程序
在控制面板配置窗口中启用“显示调试信息”,表明httpd.exe返回0到控制窗口。
04:20:00 PM [main] Initializing Control Panel
04:20:00 PM [main] Windows Version: Windows 7 Ultimate SP1 64-bit
04:20:00 PM [main] XAMPP Version: 7.3.2
04:20:00 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
04:20:00 PM [main] You are not running with administrator rights! This will work for
04:20:00 PM [main] most application stuff but whenever you do something with services
04:20:00 PM [main] there will be a security dialogue or things will break! So think
04:20:00 PM [main] about running this application with administrator rights!
04:20:00 PM [main] XAMPP Installation Directory: "c:\xampp\"
04:20:00 PM [main] Checking for prerequisites
04:20:00 PM [main] All prerequisites found
04:20:00 PM [main] Initializing Modules
04:20:00 PM [Apache] Initializing module...
04:20:00 PM [Apache] Checking for module existence...
04:20:00 PM [Apache] Checking for required tools...
04:20:00 PM [Apache] Checking for service (name="Apache2.4"): Service not installed
04:20:00 PM [Apache] Service Path: Service Not Installed
04:20:00 PM [Apache] Checking default ports...
04:20:00 PM [mysql] Initializing module...
04:20:00 PM [mysql] Checking for module existence...
04:20:00 PM [mysql] Checking for required tools...
04:20:00 PM [mysql] Checking for service (name="mysql"): Service not installed
04:20:00 PM [mysql] Service Path: Service Not Installed
04:20:00 PM [mysql] Checking default ports...
04:20:00 PM [filezilla] Initializing module...
04:20:00 PM [filezilla] Checking for module existence...
04:20:00 PM [filezilla] Checking for required tools...
04:20:00 PM [filezilla] Checking for service (name="FileZillaServer"): Service not installed
04:20:00 PM [filezilla] Service Path: Service Not Installed
04:20:00 PM [filezilla] Checking default ports...
04:20:00 PM [mercury] Initializing module...
04:20:00 PM [mercury] Checking for module existence...
04:20:00 PM [mercury] Checking for required tools...
04:20:00 PM [mercury] Checking default ports...
04:20:00 PM [Tomcat] Initializing module...
04:20:00 PM [Tomcat] Checking for module existence...
04:20:00 PM [Tomcat] Checking for required tools...
04:20:00 PM [Tomcat] Checking for service (name="Tomcat7"): Service not installed
04:20:00 PM [Tomcat] Service Path: Service Not Installed
04:20:00 PM [Tomcat] Checking default ports...
04:20:00 PM [main] Starting Check-Timer
04:20:00 PM [main] Control Panel Ready
04:20:44 PM [Apache] Checking default ports...
04:20:44 PM [Apache] Attempting to start Apache app...
04:20:44 PM [Apache] Executing "c:\xampp\apache\bin\httpd.exe"
04:20:44 PM [Apache] Return code: 0
解决方案
所以我开始安装服务,这是通过以管理员身份运行 xampp-control.exe 然后单击每个 apache 和 mysql 左侧的 X 框来完成的。然后单击开始按钮最终更新控制窗口。
.... //omitting extra lines above.
04:39:16 PM [Apache] Attempting to start Apache service...
04:39:16 PM [Apache] Executing "net start "Apache2.4""
04:39:17 PM [Apache] Status change detected: running
04:39:19 PM [Apache] Return code: 0
04:39:29 PM [mysql] Checking default ports...
04:39:29 PM [mysql] Attempting to start MySQL service...
04:39:29 PM [mysql] Executing "net start "mysql""
04:39:30 PM [mysql] Status change detected: running
04:39:32 PM [mysql] Return code: 0
推荐阅读
- date - 无论时区如何,BigQuery 时间戳都转换为日期
- python-3.x - 如何过滤具有多个搜索条件的数据库搜索结果?
- javascript - Firebase 云函数聚合数据用户问题
- java - 谷歌地图不显示在底部导航与Andriod工作室的活动(java)
- android - Chromecast 发件人应用程序未连接到 Android Receiver 应用程序,始终连接到 Web 接收器
- nginx - 在通用 Nuxt.js 应用程序中找不到资产
- wordpress - Wordpress 需要几分钟才能加载
- ios - UITextView 用 ? 错误地,当链接中出现德语变音符号时
- javascript - Vanilla JS DOM 操作(节点渲染不一致)
- javascript - 在 Google Cloud Platform 上托管的 nextjs 应用程序中缺少“_ssgManifest.js”和 _buildManifest.js