Я новичок в xampp. Каждый раз, когда я запускаю панель управления XAMPP, я вижу список ошибок в окне журнала. Вот пример:
14:58:16 [main] Initializing Control Panel
14:58:16 [main] Windows Version: Windows 7 Professional SP1 64-bit
14:58:16 [main] XAMPP Version: 7.1.16
14:58:16 [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
14:58:16 [main] Running with Administrator rights - good!
14:58:16 [main] XAMPP Installation Directory: "c:\program files (x86)\xampp\"
14:58:16 [main] WARNING: Your install directory contains spaces. This may break programs/scripts
14:58:16 [main] WARNING: Your install directory contains special characters. This may break programs/scripts
14:58:16 [main] Checking for prerequisites
14:58:41 [main] All prerequisites found
14:58:41 [main] Initializing Modules
14:58:41 [Apache] Problem detected!
14:58:41 [Apache] Port 80 in use by "Unable to open process" with PID 4!
14:58:41 [Apache] Apache WILL NOT start without the configured ports free!
14:58:41 [Apache] You need to uninstall/disable/reconfigure the blocking application
14:58:41 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
14:58:41 [main] The FileZilla module is disabled
14:58:41 [main] The Mercury module is disabled
14:58:41 [main] The Tomcat module is disabled
14:58:41 [main] Enabling autostart for module "Apache"
14:58:41 [main] Enabling autostart for module "MySQL"
14:58:41 [main] Starting Check-Timer
14:58:41 [main] Control Panel Ready
14:58:42 [Apache] Autostart active: starting...
14:58:42 [Apache] Problem detected!
14:58:42 [Apache] Port 80 in use by "Unable to open process" with PID 4!
14:58:42 [Apache] Apache WILL NOT start without the configured ports free!
14:58:42 [Apache] You need to uninstall/disable/reconfigure the blocking application
14:58:42 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
14:58:42 [Apache] Attempting to start Apache service...
14:58:42 [mysql] Autostart active: starting...
14:58:42 [mysql] Attempting to start MySQL service...
14:58:44 [mysql] Status change detected: running
14:58:49 [mysql] Status change detected: stopped
14:58:49 [mysql] Error: MySQL shutdown unexpectedly.
14:58:49 [mysql] This may be due to a blocked port, missing dependencies,
14:58:49 [mysql] improper privileges, a crash, or a shutdown by another method.
14:58:49 [mysql] Press the Logs button to view error logs and check
14:58:49 [mysql] the Windows Event Viewer for more clues
14:58:49 [mysql] If you need more help, copy and post this
14:58:49 [mysql] entire log window on the forums
14:59:22 [mysql] Attempting to start MySQL service...
14:59:24 [mysql] Status change detected: running
14:59:28 [mysql] Status change detected: stopped
14:59:28 [mysql] Error: MySQL shutdown unexpectedly.
14:59:28 [mysql] This may be due to a blocked port, missing dependencies,
14:59:28 [mysql] improper privileges, a crash, or a shutdown by another method.
14:59:29 [mysql] Press the Logs button to view error logs and check
14:59:29 [mysql] the Windows Event Viewer for more clues
14:59:29 [mysql] If you need more help, copy and post this
14:59:29 [mysql] entire log window on the forums
Я также прилагаю скриншоты настроек сервиса Apache и MySQL ниже: может ли кто-нибудь помочь мне в определении и исправлении этих ошибок. Должен ли я переустановить Xampp? Ответьте, пожалуйста.
Порт 80 используется "Невозможно открыть процесс" с PID 4!
Чтобы изменить номер порта, откройте файл
[Папка установки XAMPP]/apache/conf/httpd.conf
Найдите строку "Listen and ServerName" и обновите номер порта
Или закройте программу, используя порт 80, вы можете проверить, что с помощью этой команды
C:> netstat -a -b
обычно Skype..
Port 80 in use by "Unable to open process" with PID 4!
объясняет проблему с Apache ..Press the Logs button to view error logs and check
дает подсказку об этом. Проверьте их и опубликуйте то, что вы видите там.