Drukowana wersja tematu

Kliknij tu, aby zobaczyć temat w orginalnym formacie

Forum PHP.pl _ Apache _ Xampp portable - problem z apache i mysql

Napisany przez: slawekpiotr 29.04.2020, 11:32:55

Witam mam świeżo zainstalowany system Windows 10 PRO, i jestem na koncie z uprawnieniami administratora, pobrałem z sourceforge najnowszego xamppa w wersji 7z, rozpakowałem do folderu D:\webdev\xampp\ po uruchomieniu pliku xampp-control.exe pojawia się okno gdy klikam Start przy apache i przy mysql dostaje takie coś w logu tylko

Cytat
12:17:41 [main] Initializing Control Panel
12:17:41 [main] Windows Version: Enterprise 64-bit
12:17:41 [main] XAMPP Version: 7.4.5
12:17:41 [main] Control Panel Version: 3.2.4 [ Compiled: Jun 5th 2019 ]
12:17:41 [main] You are not running with administrator rights! This will work for
12:17:41 [main] most application stuff but whenever you do something with services
12:17:41 [main] there will be a security dialogue or things will break! So think
12:17:41 [main] about running this application with administrator rights!
12:17:41 [main] XAMPP Installation Directory: "D:\webdev\xampp\"
12:17:41 [main] Checking for prerequisites
12:17:41 [main] All prerequisites found
12:17:41 [main] Initializing Modules
12:17:41 [main] The FileZilla module is disabled
12:17:41 [main] The Mercury module is disabled
12:17:41 [main] Starting Check-Timer
12:17:41 [main] Control Panel Ready
12:17:43 [Apache] Attempting to start Apache app...
12:18:30 [mysql] Attempting to start MySQL app...


Jak odpalę plik jako Administrator i próbuję uruchomić Apache i MySQL z Xampp Control to dostaje:

Cytat
12:25:10 [main] Initializing Control Panel
12:25:10 [main] Windows Version: Enterprise 64-bit
12:25:10 [main] XAMPP Version: 7.4.5
12:25:10 [main] Control Panel Version: 3.2.4 [ Compiled: Jun 5th 2019 ]
12:25:10 [main] Running with Administrator rights - good!
12:25:10 [main] XAMPP Installation Directory: "D:\webdev\xampp\"
12:25:10 [main] Checking for prerequisites
12:25:10 [main] All prerequisites found
12:25:10 [main] Initializing Modules
12:25:10 [main] The FileZilla module is disabled
12:25:10 [main] The Mercury module is disabled
12:25:10 [main] Starting Check-Timer
12:25:10 [main] Control Panel Ready
12:25:12 [Apache] Attempting to start Apache app...
12:25:12 [Apache] Status change detected: running
12:25:13 [Apache] Status change detected: stopped
12:25:13 [Apache] Error: Apache shutdown unexpectedly.
12:25:13 [Apache] This may be due to a blocked port, missing dependencies,
12:25:13 [Apache] improper privileges, a crash, or a shutdown by another method.
12:25:13 [Apache] Press the Logs button to view error logs and check
12:25:13 [Apache] the Windows Event Viewer for more clues
12:25:13 [Apache] If you need more help, copy and post this
12:25:13 [Apache] entire log window on the forums
12:25:23 [mysql] Attempting to start MySQL app...
12:25:23 [mysql] Status change detected: running
12:25:23 [mysql] Status change detected: stopped
12:25:23 [mysql] Error: MySQL shutdown unexpectedly.
12:25:23 [mysql] This may be due to a blocked port, missing dependencies,
12:25:23 [mysql] improper privileges, a crash, or a shutdown by another method.
12:25:23 [mysql] Press the Logs button to view error logs and check
12:25:23 [mysql] the Windows Event Viewer for more clues
12:25:23 [mysql] If you need more help, copy and post this
12:25:23 [mysql] entire log window on the forums

Jak mogę to naprawić?

Napisany przez: nospor 29.04.2020, 11:39:15

Cytat
12:25:13 [Apache] This may be due to a blocked port, missing dependencies,
12:25:13 [Apache] improper privileges, a crash, or a shutdown by another method.
12:25:13 [Apache] Press the Logs button to view error logs and check
12:25:13 [Apache] the Windows Event Viewer for more clues
12:25:13 [Apache] If you need more help, copy and post this
12:25:13 [Apache] entire log window on the forums

Napisany przez: slawekpiotr 29.04.2020, 12:44:02

W cokolwiek pod przyciskiem Logs bym nie klikał to .."nie znaleziono pliku czy utworzyć?" Klikam Tak i dopiero się pliki logów puste tworzą ale nic się w nich nie zapisuje. Najciekawsze jest to że po pobraniu i zainstalowaniu z pliku xampp-portable-windows-x64-7.4.5-0-VC15-installer.exe w tej samej lokalizacji wszystko śmiga, a wypakowanie z pliku xampp-portable-windows-x64-7.4.5-0-VC15.7z lub zip i uruchomienie xampp-control.exe sypie takimi błędami jak wskazałem wyżej. Porty mam chyba niezablokowane przez inne aplikacje

Napisany przez: vokiel 29.04.2020, 19:15:57

Ja mogę Ci zaproponować coś innego - daruj sobie Xamppa. Raczej nie będziesz wrzucał aplikacji na serwer z Windowsem, prędzej będzie to coś z rodziny Linux. Także lepiej na tym wyjdziesz jak zamiast spędzać czas nad szukaniem problemów z Xamppem poświęcisz go na naukę Linuxa. A żeby mieć środowisko do uruchamiania stron wystarczy Ci albo prosty, gotowy obraz Dockera, albo nawet zwykła maszyna wirtualna w VirtualBox.

Napisany przez: Pyton_000 29.04.2020, 19:34:17

Albo użyć na początek https://docs.microsoft.com/en-us/windows/wsl/install-win10

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)