Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP][MySQL]phpMyAdmin nie działa
cisu
post
Post #1





Grupa: Zarejestrowani
Postów: 157
Pomógł: 1
Dołączył: 15.03.2008
Skąd: Mirostowice Dolne

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


Witam,

dzisiaj postawiłem na komputerze (WinXP) apache 2.2, php 5.2, mysql 5.1. Teraz tak:

-w pliku php.ini
Kod
extension=php_mysql.dll
mam odkomentowane
-mam skonfigurowane php i apache, działa jedno i drugie

Ale co do MySQL to nie wiem, phpMyAdmin wywala komunikat
Kod
phpMyAdmin - Błąd

  nie udało się załadować modułu mysql,
proszę sprawdzić konfigurację PHP - Dokumentacja

Sprawdziłem tą dokumentację i z tego co się orientuję to chodzi tu właśnie o tą linijkę w pliku php.ini, którą już odkomentowałem. Co mam zrobić żeby to działało? phpMyAdmin 3.2.4

Ten post edytował cisu 11.12.2009, 15:47:08
Go to the top of the page
+Quote Post
webdice
post
Post #2


Developer


Grupa: Moderatorzy
Postów: 3 045
Pomógł: 290
Dołączył: 20.01.2007




W pliku php.ini znajdź display_startup_errors i ustawn na On zrestartuj apache i napisz czy wyświetlają się jakieś błędy lub sprawdź logi. Przypuszczam że MySQL nie jest poprawnie uruchamiany.
Go to the top of the page
+Quote Post
cisu
post
Post #3





Grupa: Zarejestrowani
Postów: 157
Pomógł: 1
Dołączył: 15.03.2008
Skąd: Mirostowice Dolne

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


Zrobiłem tak i nic się nie wyświetliło.

Zrobiłem tak jak w tym temacie: http://forum.php.pl/index.php?showtopic=22585 i dalej to samo ;/

Ten post edytował cisu 11.12.2009, 16:16:22
Go to the top of the page
+Quote Post
webdice
post
Post #4


Developer


Grupa: Moderatorzy
Postów: 3 045
Pomógł: 290
Dołączył: 20.01.2007




Nie mam w tej chwili dostępu do Twojego komputera, ale jak wrócę do domu pogrzebie Ci na dysku w poszukiwaniu logów. Chyba że będziesz tak miły i się nimi podzielisz.
Go to the top of the page
+Quote Post
cisu
post
Post #5





Grupa: Zarejestrowani
Postów: 157
Pomógł: 1
Dołączył: 15.03.2008
Skąd: Mirostowice Dolne

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


Kod
error_log = "C:/serwer/log/bledy.log.php"

W tym pliku jest pusto, nic
Jeżeli źle szukam, to proszę o naprostowanie

Kod
Starting the Apache2.2 service
[Fri Dec 11 16:09:17 2009] [notice] Child 3372: Child process is running
[Fri Dec 11 16:09:17 2009] [notice] Child 3372: Acquired the start mutex.
[Fri Dec 11 16:09:17 2009] [notice] Child 3372: Starting 64 worker threads.
[Fri Dec 11 16:09:17 2009] [notice] Child 3372: Starting thread to listen on port 80.
[Fri Dec 11 16:11:36 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Dec 11 16:11:36 2009] [notice] Child 3372: Exit event signaled. Child process is ending.
[Fri Dec 11 16:11:37 2009] [notice] Child 3372: Released the start mutex
[Fri Dec 11 16:11:38 2009] [notice] Child 3372: All worker threads have exited.
[Fri Dec 11 16:11:38 2009] [notice] Child 3372: Child process is exiting
[Fri Dec 11 16:11:38 2009] [notice] Parent: Child process exited successfully.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
[Fri Dec 11 16:11:45 2009] [notice] Apache/2.2.14 (Win32) PHP/5.2.11 configured -- resuming normal operations
[Fri Dec 11 16:11:45 2009] [notice] Server built: Sep 28 2009 22:41:08
[Fri Dec 11 16:11:45 2009] [notice] Parent: Created child process 232
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
[Fri Dec 11 16:11:45 2009] [notice] Child 232: Child process is running
[Fri Dec 11 16:11:45 2009] [notice] Child 232: Acquired the start mutex.
[Fri Dec 11 16:11:45 2009] [notice] Child 232: Starting 64 worker threads.
[Fri Dec 11 16:11:45 2009] [notice] Child 232: Starting thread to listen on port 80.
[Fri Dec 11 16:13:41 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Dec 11 16:13:41 2009] [notice] Child 232: Exit event signaled. Child process is ending.
[Fri Dec 11 16:13:42 2009] [notice] Child 232: Released the start mutex
[Fri Dec 11 16:13:43 2009] [notice] Child 232: All worker threads have exited.
[Fri Dec 11 16:13:43 2009] [notice] Child 232: Child process is exiting
[Fri Dec 11 16:13:43 2009] [notice] Parent: Child process exited successfully.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
[Fri Dec 11 16:13:45 2009] [notice] Apache/2.2.14 (Win32) PHP/5.2.11 configured -- resuming normal operations
[Fri Dec 11 16:13:45 2009] [notice] Server built: Sep 28 2009 22:41:08
[Fri Dec 11 16:13:45 2009] [notice] Parent: Created child process 3368
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
[Fri Dec 11 16:13:45 2009] [notice] Child 3368: Child process is running
[Fri Dec 11 16:13:45 2009] [notice] Child 3368: Acquired the start mutex.
[Fri Dec 11 16:13:45 2009] [notice] Child 3368: Starting 64 worker threads.
[Fri Dec 11 16:13:45 2009] [notice] Child 3368: Starting thread to listen on port 80.
[Fri Dec 11 16:23:43 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Dec 11 16:23:43 2009] [notice] Child 3368: Exit event signaled. Child process is ending.
[Fri Dec 11 16:23:44 2009] [notice] Child 3368: Released the start mutex
[Fri Dec 11 16:23:45 2009] [notice] Child 3368: All worker threads have exited.
[Fri Dec 11 16:23:45 2009] [notice] Child 3368: Child process is exiting
[Fri Dec 11 16:23:45 2009] [notice] Parent: Child process exited successfully.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
[Fri Dec 11 16:23:49 2009] [notice] Apache/2.2.14 (Win32) PHP/5.2.11 configured -- resuming normal operations
[Fri Dec 11 16:23:49 2009] [notice] Server built: Sep 28 2009 22:41:08
[Fri Dec 11 16:23:49 2009] [notice] Parent: Created child process 2212
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
[Fri Dec 11 16:23:49 2009] [notice] Child 2212: Child process is running
[Fri Dec 11 16:23:49 2009] [notice] Child 2212: Acquired the start mutex.
[Fri Dec 11 16:23:49 2009] [notice] Child 2212: Starting 64 worker threads.
[Fri Dec 11 16:23:49 2009] [notice] Child 2212: Starting thread to listen on port 80.
[Fri Dec 11 16:26:02 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Dec 11 16:26:02 2009] [notice] Child 2212: Exit event signaled. Child process is ending.
[Fri Dec 11 16:26:03 2009] [notice] Child 2212: Released the start mutex
[Fri Dec 11 16:26:04 2009] [notice] Child 2212: All worker threads have exited.
[Fri Dec 11 16:26:04 2009] [notice] Child 2212: Child process is exiting
[Fri Dec 11 16:26:04 2009] [notice] Parent: Child process exited successfully.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
[Fri Dec 11 16:26:14 2009] [notice] Apache/2.2.14 (Win32) PHP/5.2.11 configured -- resuming normal operations
[Fri Dec 11 16:26:14 2009] [notice] Server built: Sep 28 2009 22:41:08
[Fri Dec 11 16:26:14 2009] [notice] Parent: Created child process 496
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.104 for ServerName
[Fri Dec 11 16:26:15 2009] [notice] Child 496: Child process is running
[Fri Dec 11 16:26:15 2009] [notice] Child 496: Acquired the start mutex.
[Fri Dec 11 16:26:15 2009] [notice] Child 496: Starting 64 worker threads.
[Fri Dec 11 16:26:15 2009] [notice] Child 496: Starting thread to listen on port 80.


Ponawiam pytanie, dalej nie działa

F5
Go to the top of the page
+Quote Post
Zyx
post
Post #6





Grupa: Zarejestrowani
Postów: 952
Pomógł: 154
Dołączył: 20.01.2007
Skąd: /dev/oracle

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


Webdice, MySQL raczej ma niewiele wspólnego z konfiguracją PHP czy Apache'a. W szczególności na pewno nie wpływa na załadowanie modułów w PHP.

cisu -> odpalasz skrypt phpinfo i patrzysz, w jakiej ścieżce próbuje szukać pliku php.ini (jedno z pól w pierwszej tabelce). Następnie patrzysz czy pod wskazaną ścieżką jest plik php.ini, który modyfikowałeś. Jeśli nie ma, kopiujesz go tam i uruchamiasz wszystko ponownie. Zresztą, wyświetlana jest tam też informacja, gdzie ostatecznie PHP znalazł plik konfiguracyjny. Jeżeli twierdzisz, że odkomentowałeś odpowiednie rozszerzenie i PHP nie sypie żadnymi błędami przy starcie, obstawiałbym to za najbardziej prawdopodobną przyczynę. Może być niewłaściwie skonfigurowana ścieżka do modułów, ale wtedy powinien się wysypywać sam PHP.
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: 14.09.2025 - 17:07