Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Apache 2.2.12] Xampp 1.7.2 - nie przetwarza kodu
Tao
post
Post #1





Grupa: Zarejestrowani
Postów: 12
Pomógł: 0
Dołączył: 6.09.2009
Skąd: Woj lubuskie

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


Witam!

Mam problem z apache. Dawniej ładnie pięknie działał xampp nie było problemów, a tu nagle dziś pisze sobie rejestracje i sprawdzam czy działa i widzę krzaki jak w lesie. Pierwsze co to się doszukuje błędów w kodzie ale nawet drobne poprawki nic nie dały. Więc pomyślałem ze xampp sie posypał to reinstaluje i dalej to samo, no to biore się za coś innego w nadziei lepszego jutra, padł ofiara wamp- prawie identyczne funkcje jak xampp i dalej nic, efekt taki sam. Jedyne co mi przychodzi na myśl ze apache nie działa, napisałem prosty kod <?php echo "lol"; php?> i biała strona znów. Grzebałem w google długo i na polskich i zagranicznych stronach, były podobne problemy ale nie było konkretnego rozwiązania tego problemu... Sprawdziłem porty i też nic z tego nie wynikało... Resetowałem cały pakiet, i po kolei i też nic.

(IMG:http://img40.imageshack.us/img40/1723/portyd.jpg)


ErrorLog dlugi jak tasiemiec... musiałem skrócić ( ale się powtarzał głównie)

Kod
[Sun Sep 06 18:27:52 2009] [notice] Child 2044: Child process is running
[Sun Sep 06 18:27:52 2009] [notice] Child 2044: Acquired the start mutex.
[Sun Sep 06 18:27:52 2009] [notice] Child 2044: Starting 150 worker threads.
[Sun Sep 06 18:27:52 2009] [notice] Child 2044: Starting thread to listen on port 443.
[Sun Sep 06 18:27:52 2009] [notice] Child 2044: Starting thread to listen on port 80.
(OS 10048)Tylko jedno użycie każdego adresu gniazda (protokół/adres sieciowy/port) jest normalnie dozwolone.  : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
httpd.exe: Syntax error on line 133 of C:/xampp/apache/conf/httpd.conf: Cannot load C:/xampp/apache/modules/php5apache2.dll into server: Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.  
[Sun Sep 06 18:42:55 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Sep 06 18:42:55 2009] [notice] Child 2044: Exit event signaled. Child process is ending.
[Sun Sep 06 18:42:56 2009] [notice] Child 2044: Released the start mutex
[Sun Sep 06 18:42:57 2009] [notice] Child 2044: All worker threads have exited.
[Sun Sep 06 18:42:57 2009] [notice] Child 2044: Child process is exiting
[Sun Sep 06 18:42:57 2009] [notice] Parent: Child process exited successfully.
httpd.exe: Syntax error on line 133 of C:/xampp/apache/conf/httpd.conf: Cannot load C:/xampp/apache/modules/php5apache2.dll into server: Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.  
httpd.exe: Syntax error on line 133 of C:/xampp/apache/conf/httpd.conf: Cannot load C:/xampp/apache/modules/php5apache2.dll into server: Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.  
httpd.exe: Syntax error on line 133 of C:/xampp/apache/conf/httpd.conf: Cannot load C:/xampp/apache/modules/php5apache2.dll into server: Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.  
httpd.exe: Syntax error on line 133 of C:/xampp/apache/conf/httpd.conf: Cannot load C:/xampp/apache/modules/php5apache2.dll into server: Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.  
[Sun Sep 06 18:46:17 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Sep 06 18:46:17 2009] [notice] Digest: done
[Sun Sep 06 18:46:17 2009] [notice] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Sun Sep 06 18:46:17 2009] [notice] Server built: Jul 22 2009 11:35:54
[Sun Sep 06 18:46:17 2009] [notice] Parent: Created child process 3424
[Sun Sep 06 18:46:18 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Sep 06 18:46:18 2009] [notice] Digest: done
[Sun Sep 06 18:46:18 2009] [notice] Child 3424: Child process is running
[Sun Sep 06 18:46:18 2009] [notice] Child 3424: Acquired the start mutex.
[Sun Sep 06 18:46:18 2009] [notice] Child 3424: Starting 150 worker threads.
[Sun Sep 06 18:46:19 2009] [notice] Child 3424: Starting thread to listen on port 443.
[Sun Sep 06 18:46:19 2009] [notice] Child 3424: Starting thread to listen on port 80.
[Sun Sep 06 18:47:19 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Sep 06 18:47:19 2009] [notice] Child 3424: Exit event signaled. Child process is ending.
[Sun Sep 06 18:47:20 2009] [notice] Child 3424: Released the start mutex
[Sun Sep 06 18:47:21 2009] [notice] Child 3424: All worker threads have exited.
[Sun Sep 06 18:47:21 2009] [notice] Child 3424: Child process is exiting
[Sun Sep 06 18:47:21 2009] [notice] Parent: Child process exited successfully.
[Sun Sep 06 18:47:26 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Sep 06 18:47:26 2009] [notice] Digest: done
[Sun Sep 06 18:47:27 2009] [notice] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Sun Sep 06 18:47:27 2009] [notice] Server built: Jul 22 2009 11:35:54
[Sun Sep 06 18:47:27 2009] [notice] Parent: Created child process 3304
[Sun Sep 06 18:47:28 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Sep 06 18:47:28 2009] [notice] Digest: done
[Sun Sep 06 18:47:28 2009] [notice] Child 3304: Child process is running
[Sun Sep 06 18:47:28 2009] [notice] Child 3304: Acquired the start mutex.
[Sun Sep 06 18:47:28 2009] [notice] Child 3304: Starting 150 worker threads.
[Sun Sep 06 18:47:28 2009] [notice] Child 3304: Starting thread to listen on port 443.
[Sun Sep 06 18:47:28 2009] [notice] Child 3304: Starting thread to listen on port 80.
(OS 10048)Tylko jedno użycie każdego adresu gniazda (protokół/adres sieciowy/port) jest normalnie dozwolone.  : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[Sun Sep 06 18:52:01 2009] [warn] pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Sep 06 18:52:01 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Sep 06 18:52:01 2009] [notice] Digest: done
[Sun Sep 06 18:52:04 2009] [notice] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Sun Sep 06 18:52:04 2009] [notice] Server built: Jul 22 2009 11:35:54
[Sun Sep 06 18:52:04 2009] [notice] Parent: Created child process 2976
[Sun Sep 06 18:52:05 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Sep 06 18:52:05 2009] [notice] Digest: done
[Sun Sep 06 18:52:05 2009] [notice] Child 2976: Child process is running
[Sun Sep 06 18:52:05 2009] [notice] Child 2976: Acquired the start mutex.
[Sun Sep 06 18:52:05 2009] [notice] Child 2976: Starting 150 worker threads.
[Sun Sep 06 18:52:05 2009] [notice] Child 2976: Starting thread to listen on port 80.
[Sun Sep 06 18:52:05 2009] [notice] Child 2976: Starting thread to listen on port 443.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
erix
post
Post #2





Grupa: Moderatorzy
Postów: 15 467
Pomógł: 1451
Dołączył: 25.04.2005
Skąd: Szczebrzeszyn/Rzeszów




A nie widzisz, że serwer ma problem z załadowaniem modułu obsługi PHP? Sprawdź, czy masz ten plik.
Go to the top of the page
+Quote Post
Tao
post
Post #3





Grupa: Zarejestrowani
Postów: 12
Pomógł: 0
Dołączył: 6.09.2009
Skąd: Woj lubuskie

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


ta moduł mam ale źle wpisałem jego nazwe ale to i tak nic nie dało
wpisalem do httpd.conf linijkę

LoadModule php5_module "c:/xampp/apache/modules/php5apache2_2.dll" lub
LoadModule php5_module "modules/php5apache2_2.dll" albo i bez "" i tak z raportuje błąd

Kod
httpd.exe: Syntax error on line 133 of C:/xampp/apache/conf/httpd.conf: Cannot load C:/xampp/apache/modules/php5apache2_2.dll into server: Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.



A jak w ogole wykasuje ta linijke( tak jak było kiedyś) to apache odpali, ale nie przetworzy kodu, tylko biała strona się wyświetli :?
Go to the top of the page
+Quote Post
Rydzek
post
Post #4





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 22.06.2010

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


wiem, że temat dość stary, jednak prawdopodobnie mam rozwiązanie. A nóż widelec komuś pomoże (IMG:style_emoticons/default/winksmiley.jpg)
Musisz zmienić domyślnie nasłuchiwany port z 80 na np. 8080. W tym celu:

1. otwórz plik */Apache/conf/httpd.conf w notatniku lub innym edytorze tekstowym

2. użyj funkcji "znajdź" notatnika do odszukania frazy "Listen 80". Zmień na "Listen 8080"

3. ponownie użyj funkcji do znalezienia frazy "ServerName localhost:80" i ponownie zmień 80 na 8080.

Powinno pomóc (IMG:style_emoticons/default/winksmiley.jpg)

Ten post edytował Rydzek 22.06.2010, 22:42:21
Go to the top of the page
+Quote Post
erix
post
Post #5





Grupa: Moderatorzy
Postów: 15 467
Pomógł: 1451
Dołączył: 25.04.2005
Skąd: Szczebrzeszyn/Rzeszów




A widzisz, żeby serwer zgłaszał problem z nasłuchem na porcie 80?
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 23.12.2025 - 13:28