xampp-control“start”操作按钮运行httpd.exe但不会更新控制窗口

问题描述 投票:0回答:1

我已经下载了xampp-windows-x64-7.3.2-0-VC15-installer.exe并默认安装到c:\ xampp \文件夹。

单击“开始”按钮加载Apache服务器后,我看到控制窗口尝试启动Apache,但是状态窗口中没有其他任何内容填充。我检查了httpd.exe,它正在运行。在Web浏览器中检查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 starts apache and mysql but wouldn't update app on screen

在控制面板配置窗口中启用“显示调试信息”,显示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
apache
1个回答
0
投票

所以我去安装服务,这是通过以管理员身份运行xampp-control.exe然后单击每个apache和mysql左侧的X框来完成的。然后单击开始按钮最终更新控制窗口。

xampp-control window

.... //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
© www.soinside.com 2019 - 2024. All rights reserved.