порт xampp 80 или 8080 не работает

Я установил XAMPP на Windows 7 и попытался запустить сервер Apache и MySQL. Это не сработало. Затем я попытался изменить порт прослушивания 80 на прослушивание 8080, щелкнув Config в той же строке, что и Apache, и выбрав httpd.config, но даже это не сработает.

Когда я запускаю Apache и MySQL, в консоли говорится, что:

15:33:34  [main]    Initializing Control Panel
15:33:34  [main]    Windows Version: Windows 7 Home Premium SP1 64-bit
15:33:34  [main]    XAMPP Version: 5.6.11
15:33:34  [main]    Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
15:33:34  [main]    You are not running with administrator rights! This will work for
15:33:34  [main]    most application stuff but whenever you do something with services
15:33:34  [main]    there will be a security dialogue or things will break! So think
15:33:34  [main]    about running this application with administrator rights!
15:33:34  [main]    XAMPP Installation Directory: "d:\xampp\"15:33:34  [main]    Checking for prerequisites
15:33:34  [main]    All prerequisites found
15:33:34  [main]    Initializing Modules
15:33:34  [Apache]  Problem detected!
15:33:34  [Apache]  Port 80 in use by "D:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 5028!
15:33:34  [Apache]  Apache WILL NOT start without the configured ports free!
15:33:34  [Apache]  You need to uninstall/disable/reconfigure the blocking application
15:33:34  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
15:33:34  [Apache]  Problem detected!
15:33:34  [Apache]  Port 443 in use by "D:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 5028!
15:33:34  [Apache]  Apache WILL NOT start without the configured ports free!
15:33:34  [Apache]  You need to uninstall/disable/reconfigure the blocking application
15:33:34  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
15:33:34  [mysql]   MySQL Service detected with wrong path
15:33:34  [mysql]   Change XAMPP MySQL and Control Panel settings or
15:33:34  [mysql]   Uninstall/disable the other service manually first
15:33:34  [mysql]   Found Path: "D:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="D:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL
15:33:34  [mysql]   Expected Path: d:\xampp\mysql\bin\mysqld.exe --defaults-file=d:\xampp\mysql\bin\my.ini mysql
15:33:34  [mysql]   Problem detected!
15:33:34  [mysql]   Port 3306 in use by ""D:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="D:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL"!
15:33:34  [mysql]   MySQL WILL NOT start without the configured ports free!
15:33:34  [mysql]   You need to uninstall/disable/reconfigure the blocking application
15:33:34  [mysql]   or reconfigure MySQL and the Control Panel to listen on a different port
15:33:34  [main]    The Mercury module is disabled
15:33:34  [main]    The Tomcat module is disabled
15:33:34  [main]    Starting Check-Timer
15:33:34  [main]    Control Panel Ready
15:36:36  [Apache]  Problem detected!
15:36:36  [Apache]  Port 80 in use by "D:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 5028!
15:36:36  [Apache]  Apache WILL NOT start without the configured ports free!
15:36:36  [Apache]  You need to uninstall/disable/reconfigure the blocking application
15:36:36  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
15:36:36  [Apache]  Problem detected!
15:36:36  [Apache]  Port 443 in use by "D:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 5028!
15:36:36  [Apache]  Apache WILL NOT start without the configured ports free!
15:36:36  [Apache]  You need to uninstall/disable/reconfigure the blocking application
15:36:36  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
15:36:36  [Apache]  Attempting to start Apache app...
15:36:36  [Apache]  Problem detected!
15:36:36  [Apache]  Port 80 in use by "D:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 5028!
15:36:36  [Apache]  Apache WILL NOT start without the configured ports free!
15:36:36  [Apache]  You need to uninstall/disable/reconfigure the blocking application
15:36:36  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
15:36:36  [Apache]  Problem detected!
15:36:36  [Apache]  Port 443 in use by "D:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 5028!
15:36:36  [Apache]  Apache WILL NOT start without the configured ports free!
15:36:36  [Apache]  You need to uninstall/disable/reconfigure the blocking application
15:36:36  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
15:36:36  [Apache]  Attempting to start Apache app...
15:36:36  [Apache]  Status change detected: running
15:36:37  [Apache]  Status change detected: stopped
15:36:37  [Apache]  Error: Apache shutdown unexpectedly.
15:36:37  [Apache]  This may be due to a blocked port, missing dependencies,
15:36:37  [Apache]  improper privileges, a crash, or a shutdown by another method.
15:36:37  [Apache]  Press the Logs button to view error logs and check
15:36:37  [Apache]  the Windows Event Viewer for more clues
15:36:37  [Apache]  If you need more help, copy and post this
15:36:37  [Apache]  entire log window on the forums
15:36:38  [mysql]   Problem detected!
15:36:38  [mysql]   Port 3306 in use by ""D:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="D:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL"!
15:36:38  [mysql]   MySQL WILL NOT start without the configured ports free!
15:36:38  [mysql]   You need to uninstall/disable/reconfigure the blocking application
15:36:38  [mysql]   or reconfigure MySQL and the Control Panel to listen on a different port
15:36:38  [mysql]   Attempting to start MySQL service...

Что я должен делать?

-1

Решение

Для меня не похоже, что вы на самом деле используете порт 8080. Apache пытается использовать порты 80 и 443, которые уже заблокированы Skype.

И что бы это ни было ""D:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="D:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL", он блокирует ваш порт 3306 для MySQL.

Вам следует либо убить эти процессы, либо снова изменить порты для Apache и MySql. Для Apache используйте кнопку «config» и затем отредактируйте httpd.conf файл. В этом файле измените строку Listen 80 в Listen 8080, После этого убедитесь, что вы сохранили свои изменения.

То же самое для MySql и порта 3306, если вы хотите его использовать (здесь это my.ini).

3

Другие решения

Других решений пока нет …

По вопросам рекламы [email protected]