我已经下载了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
答案 0 :(得分: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