Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Apache startuje, localhost nie
gemm
post 25.03.2007, 23:29:48
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 15.03.2007

Ostrzeżenie: (0%)
-----


Witam!

Zainstalowałem Apacha pod XP (komp nie wpięty w sieć). Apache startuje, ale kiedy wpisuje w przeglądarkę http://localhost, lub http://127.0.0.1 aby sprawdzić czy wszystko ok. strona testowa się nie ładuje. Pojawia się komunikat o będzie strony, adresu, itp. a w mozilli komunikat, ze nie mam dostępu do pliku...

Na pewno nie jest to problem zajetego portu 80 np. przez skypa, czy coś jeszcze innego. IIE tez nie mam zainstalowanego wiec blokowanie tego portu odpada. Zreszta Apache mi sie uruchamia, nie mam zadnego komunikatu o błedzie. Po prostu nie ładuje mi się strona testowa. Dlaczego?questionmark.gif

Bardzo proszę o jakąś podpowiedz. Zaczynam powoli wątpić ze kiedykolwiek naucze się tego PHP... ;-)

Pozdrawiam! Marcin
Go to the top of the page
+Quote Post
envp
post 26.03.2007, 07:00:13
Post #2





Grupa: Zarejestrowani
Postów: 359
Pomógł: 1
Dołączył: 16.04.2006
Skąd: Łódź

Ostrzeżenie: (0%)
-----


Skoro nie masz strony to znaczy ze Apache nie startuje...
Go to the top of the page
+Quote Post
tomekp
post 26.03.2007, 08:23:25
Post #3





Grupa: Zarejestrowani
Postów: 171
Pomógł: 0
Dołączył: 17.12.2003
Skąd: Krakół

Ostrzeżenie: (0%)
-----


A co masz kolego w logach? access_log, error_log


--------------------
escape from the execution is futile.
Go to the top of the page
+Quote Post
gemm
post 26.03.2007, 22:41:16
Post #4





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 15.03.2007

Ostrzeżenie: (0%)
-----


Jeśli chodzi o ten poprawny start Apache...
Napisałem tak bo myślałem, że jak się świeci strzałka na zielono w prawym dolnym rogu ekranu, a w Narzędziach Administratora->Usługi widać przy Apache'u uruchomiony to, że tyle wystarczy aby tak myśleć. Po tym co piszecie najwyraźniej jest inaczej.

Przesyłam poniżej zawartość pliku: error.log po uruchomieniu i zatrzymaniu apache'a. Nie bardzo znam się na tych zapisach. Na pierwszy rzut oka wyglądają chyba ok.

[Mon Mar 26 23:31:35 2007] [notice] Apache/2.2.2 (Win32) configured -- resuming normal operations
[Mon Mar 26 23:31:35 2007] [notice] Server built: Apr 29 2006 18:32:31
[Mon Mar 26 23:31:35 2007] [notice] Parent: Created child process 1856
[Mon Mar 26 23:31:35 2007] [notice] Child 1856: Child process is running
[Mon Mar 26 23:31:35 2007] [notice] Child 1856: Acquired the start mutex.
[Mon Mar 26 23:31:35 2007] [notice] Child 1856: Starting 250 worker threads.
[Mon Mar 26 23:31:35 2007] [notice] Child 1856: Starting thread to listen on port 80.
[Mon Mar 26 23:32:48 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Mar 26 23:32:48 2007] [notice] Child 1856: Exit event signaled. Child process is ending.
[Mon Mar 26 23:32:49 2007] [notice] Child 1856: Released the start mutex
[Mon Mar 26 23:32:50 2007] [notice] Child 1856: Waiting for 250 worker threads to exit.
[Mon Mar 26 23:32:50 2007] [notice] Child 1856: All worker threads have exited.
[Mon Mar 26 23:32:50 2007] [notice] Child 1856: Child process is exiting
[Mon Mar 26 23:32:50 2007] [notice] Parent: Child process exited successfully.
[Mon Mar 26 23:33:36 2007] [notice] Apache/2.2.2 (Win32) configured -- resuming normal operations
[Mon Mar 26 23:33:36 2007] [notice] Server built: Apr 29 2006 18:32:31
[Mon Mar 26 23:33:36 2007] [notice] Parent: Created child process 2848
[Mon Mar 26 23:33:36 2007] [notice] Child 2848: Child process is running
[Mon Mar 26 23:33:36 2007] [notice] Child 2848: Acquired the start mutex.
[Mon Mar 26 23:33:36 2007] [notice] Child 2848: Starting 250 worker threads.
[Mon Mar 26 23:33:36 2007] [notice] Child 2848: Starting thread to listen on port 80.


Jeśli chodzi zaś o plik access.log to jego zawartość jest pusta!!! Nic w nim nie ma.

Z góry dzięki za najmniejszą pomoc. Pozdrawiam! Marcin
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 25.06.2025 - 14:54