-
1. Data: 2010-05-01 18:30:45
Temat: Win7 + Apache + Mysql + PHP - problem z bazą
Od: "Wojciech \"Spook\" Sura" <"spook[mad"@hatter]op.pl>
Witam!
Zainstalowałem Apache'a 2.2.15, MySQL 5.1.46 i PHP 5.2.13, skonfigurowałem
i działają - za jednym wyjątkiem. Otóż podczas próby połączenia z bazą
danych serwer przerywa połączenie. Od razu nadmienię, że piętnaście razy
sprawdzałem katalogi rozszerzeń PHP, konfigurację php.ini i tak dalej.
Wszystko jest skonfigurowane jak trzeba, ale nie działa.
Dodam jeszcze, że gdzieś w Internecie znalazłem już osobę, która miała
taki problem, ale u niej pomogło zainstalowanie wcześniejszej wersji PHP.
Ja próbowałem z 5.3.2 i 5.2.13 z tą różnicą, że w 5.2.13 po krótkim czasie
połączenie jest przerywane przez serwer, a w 5.3.2 po kilku minutach
pokazuje się strona wygenerowana do momentu pierwszej interakcji z bazą w
skryptach.
Jak mogę rozwiązać ten problem?
Pozdrawiam -- Spook.
--
! ._______. Warning: Lucida Console sig! //) !
! || spk || www.spook.freshsite.pl / _ """*!
! ||_____|| spook at op.pl / ' | ""!
! | ___ | tlen: spoko_ws gg:1290136 /. __/"\ '!
! |_|[]_|_| May the SOURCE be with you! \/) \ !
-
2. Data: 2010-05-01 18:40:04
Temat: Re: Win7 + Apache + Mysql + PHP - problem z bazą
Od: "Wojciech \"Spook\" Sura" <"spook[mad"@hatter]op.pl>
Dnia 01-05-2010 o 20:30:45 Wojciech "Spook" Sura
<"spook[mad"@hatter]op.pl> napisał(a):
(...)
Jeszcze zrzut logu Apache'a:
<log>
[Sat May 01 20:33:53 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13
configured -- resuming normal operations
[Sat May 01 20:33:53 2010] [notice] Server built: Mar 4 2010 11:27:46
[Sat May 01 20:33:53 2010] [notice] Parent: Created child process 2852
[Sat May 01 20:33:53 2010] [notice] Child 2852: Child process is running
[Sat May 01 20:33:53 2010] [notice] Child 2852: Acquired the start mutex.
[Sat May 01 20:33:53 2010] [notice] Child 2852: Starting 64 worker threads.
[Sat May 01 20:33:53 2010] [notice] Child 2852: Starting thread to listen
on port 80.
zend_mm_heap corrupted
[Sat May 01 20:34:23 2010] [notice] Parent: child process exited with
status 1 -- Restarting.
[Sat May 01 20:34:23 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13
configured -- resuming normal operations
[Sat May 01 20:34:23 2010] [notice] Server built: Mar 4 2010 11:27:46
[Sat May 01 20:34:23 2010] [notice] Parent: Created child process 5540
[Sat May 01 20:34:23 2010] [notice] Child 5540: Child process is running
[Sat May 01 20:34:23 2010] [notice] Child 5540: Acquired the start mutex.
[Sat May 01 20:34:23 2010] [notice] Child 5540: Starting 64 worker threads.
[Sat May 01 20:34:23 2010] [notice] Child 5540: Starting thread to listen
on port 80.
zend_mm_heap corrupted
[Sat May 01 20:34:23 2010] [notice] Parent: child process exited with
status 1 -- Restarting.
[Sat May 01 20:34:23 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13
configured -- resuming normal operations
[Sat May 01 20:34:23 2010] [notice] Server built: Mar 4 2010 11:27:46
[Sat May 01 20:34:23 2010] [notice] Parent: Created child process 5868
[Sat May 01 20:34:24 2010] [notice] Child 5868: Child process is running
[Sat May 01 20:34:24 2010] [notice] Child 5868: Acquired the start mutex.
[Sat May 01 20:34:24 2010] [notice] Child 5868: Starting 64 worker threads.
[Sat May 01 20:34:24 2010] [notice] Child 5868: Starting thread to listen
on port 80.
</log>
Pozdrawiam -- Spook.
--
! ._______. Warning: Lucida Console sig! //) !
! || spk || www.spook.freshsite.pl / _ """*!
! ||_____|| spook at op.pl / ' | ""!
! | ___ | tlen: spoko_ws gg:1290136 /. __/"\ '!
! |_|[]_|_| May the SOURCE be with you! \/) \ !
-
3. Data: 2010-05-01 19:04:10
Temat: Re: Win7 + Apache + Mysql + PHP - problem z bazą
Od: "Wojciech \"Spook\" Sura" <"spook[mad"@hatter]op.pl>
Dnia 01-05-2010 o 20:40:04 Wojciech "Spook" Sura
<"spook[mad"@hatter]op.pl> napisał(a):
(...)
I jeszcze log z 5.3.2 - tutaj w ogóle żadnych informacji:
[Sat May 01 20:56:08 2010] [notice] Apache/2.2.15 (Win32) PHP/5.3.2
configured -- resuming normal operations
[Sat May 01 20:56:08 2010] [notice] Server built: Mar 4 2010 11:27:46
[Sat May 01 20:56:08 2010] [notice] Parent: Created child process 3976
[Sat May 01 20:56:08 2010] [notice] Child 3976: Child process is running
[Sat May 01 20:56:08 2010] [notice] Child 3976: Acquired the start mutex.
[Sat May 01 20:56:08 2010] [notice] Child 3976: Starting 64 worker threads.
[Sat May 01 20:56:08 2010] [notice] Child 3976: Starting thread to listen
on port 80.
Pozdrawiam -- Spook.
--
! ._______. Warning: Lucida Console sig! //) !
! || spk || www.spook.freshsite.pl / _ """*!
! ||_____|| spook at op.pl / ' | ""!
! | ___ | tlen: spoko_ws gg:1290136 /. __/"\ '!
! |_|[]_|_| May the SOURCE be with you! \/) \ !
-
4. Data: 2010-05-01 19:10:28
Temat: Re: Win7 + Apache + Mysql + PHP - problem z bazą
Od: "Wojciech \"Spook\" Sura" <"spook[mad"@hatter]op.pl>
Dnia 01-05-2010 o 21:04:10 Wojciech "Spook" Sura
<"spook[mad"@hatter]op.pl> napisał(a):
(...)
Do licha. Stara metoda zawsze działa - wystarczy napisać na grupy. Problem
rozwiązany.
Dla potomnych: trzeba odkomentować w pliku
C:\Windows\System32\Drivers\etc\hosts linijkę:
# 127.0.0.1 localhost
Pozdrawiam -- Spook.
--
! ._______. Warning: Lucida Console sig! //) !
! || spk || www.spook.freshsite.pl / _ """*!
! ||_____|| spook at op.pl / ' | ""!
! | ___ | tlen: spoko_ws gg:1290136 /. __/"\ '!
! |_|[]_|_| May the SOURCE be with you! \/) \ !