Ocena wątku:
- 0 głosów - średnia: 0
- 1
- 2
- 3
- 4
- 5
Problem przy instalacji rozszerzeń w PHP
|
Liczba postów: 340
Liczba wątków: 38
Dołączył: 28-04-2010
Reputacja:
15
Witam.
Mam problem przy instalacji rozszerzeń do PHP w Windows. Stawiam ręcznie AMPa i przy dołączaniu rozszerzeń (wiem, że problem dotyczy na pewno mcrypt, mysql, oci) i restarcie Apache wywala mi błąd ("The requersted operation has failed!") po czym się wykrzacza. Wiecie w czym może być problem? Męczę się z tym już drugi dzień, w necie dużo pomocy nt tego nie ma i już tracę nerwy. Pomocy!
Jak pomogłem daj '+'. To nie boli, a ja mam satysfakcję
Any sufficiently advanced technology is indistinguishable from magic.
Liczba postów: 2,587
Liczba wątków: 2
Dołączył: 03-04-2010
Reputacja:
58
Jaka wersja Apache + PHP (dokładne informacje) + jaką wersję rozszerzenia próbujesz zainstalować.
Liczba postów: 340
Liczba wątków: 38
Dołączył: 28-04-2010
Reputacja:
15
Apache 2.2.15
PHP 5.2.13
Rozszerzenia instalowane z instalki tego PHP więc zgodne.
Jak pomogłem daj '+'. To nie boli, a ja mam satysfakcję
Any sufficiently advanced technology is indistinguishable from magic.
Liczba postów: 2,587
Liczba wątków: 2
Dołączył: 03-04-2010
Reputacja:
58
PHP VC6 czy VC9? I dla pewności powiedz jak instalujesz rozszerzenia
Liczba postów: 340
Liczba wątków: 38
Dołączył: 28-04-2010
Reputacja:
15
Jak pomogłem daj '+'. To nie boli, a ja mam satysfakcję
Any sufficiently advanced technology is indistinguishable from magic.
Liczba postów: 2,587
Liczba wątków: 2
Dołączył: 03-04-2010
Reputacja:
58
Dziwne. A co Ci mówi error.log?
VC6 i VC9 są to wersję skompilowane przy użyciu różnych wersji Visual Studio.
Cytat z php.net:
Cytat:Which version do I choose?
If you are using PHP with Apache 1 or Apache2 from apache.org you need to use the VC6 versions of PHP
If you are using PHP with IIS you should use the VC9 versions of PHP
VC6 Versions are compiled with the legacy Visual Studio 6 compiler
VC9 Versions are compiled with the Visual Studio 2008 compiler and have improvements in performance and stability. The VC9 versions require you to have the Microsoft 2008 C++ Runtime (x86) or the Microsoft 2008 C++ Runtime (x64) installed
Do NOT use VC9 version with apache.org binaries
Liczba postów: 340
Liczba wątków: 38
Dołączył: 28-04-2010
Reputacja:
15
Raczej VC6, ściągane z oficjalnej strony i bez rozszerzeń działa (w dodatku wcześniej również bezproblemowo działało) Error.log nic sensownego nie pokazuje:
Kod: [Thu Sep 30 13:24:30 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13 configured -- resuming normal operations
[Thu Sep 30 13:24:30 2010] [notice] Server built: Mar 4 2010 11:27:46
[Thu Sep 30 13:24:30 2010] [notice] Parent: Created child process 1624
[Thu Sep 30 13:24:31 2010] [notice] Child 1624: Child process is running
[Thu Sep 30 13:24:31 2010] [notice] Child 5392: Released the start mutex
[Thu Sep 30 13:24:31 2010] [notice] Child 1624: Acquired the start mutex.
[Thu Sep 30 13:24:31 2010] [notice] Child 1624: Starting 64 worker threads.
[Thu Sep 30 13:24:32 2010] [notice] Child 5392: All worker threads have exited.
[Thu Sep 30 13:24:32 2010] [notice] Child 5392: Child process is exiting
[Thu Sep 30 13:24:32 2010] [notice] Child 1624: Starting thread to listen on port 80.
[Thu Sep 30 13:25:21 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Sep 30 13:25:21 2010] [notice] Child 1624: Exit event signaled. Child process is ending.
[Thu Sep 30 13:25:21 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13 configured -- resuming normal operations
[Thu Sep 30 13:25:21 2010] [notice] Server built: Mar 4 2010 11:27:46
[Thu Sep 30 13:25:21 2010] [notice] Parent: Created child process 5204
[Thu Sep 30 13:25:21 2010] [notice] Child 5204: Child process is running
[Thu Sep 30 13:25:22 2010] [notice] Child 1624: Released the start mutex
[Thu Sep 30 13:25:22 2010] [notice] Child 5204: Acquired the start mutex.
[Thu Sep 30 13:25:22 2010] [notice] Child 5204: Starting 64 worker threads.
[Thu Sep 30 13:25:23 2010] [notice] Child 1624: All worker threads have exited.
[Thu Sep 30 13:25:23 2010] [notice] Child 1624: Child process is exiting
[Thu Sep 30 13:25:23 2010] [notice] Child 5204: Starting thread to listen on port 80.
[Thu Sep 30 14:32:04 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Sep 30 14:32:04 2010] [notice] Child 5204: Exit event signaled. Child process is ending.
[Thu Sep 30 14:32:05 2010] [notice] Child 5204: Released the start mutex
[Thu Sep 30 14:32:07 2010] [notice] Child 5204: All worker threads have exited.
[Thu Sep 30 14:32:07 2010] [notice] Child 5204: Child process is exiting
Szkoda, że nie można załączać plików, bym wysłał php.ini i httpd.conf może coś tam byś znalazł
Jak pomogłem daj '+'. To nie boli, a ja mam satysfakcję
Any sufficiently advanced technology is indistinguishable from magic.
Liczba postów: 2,587
Liczba wątków: 2
Dołączył: 03-04-2010
Reputacja:
58
Fakt, nic interesującego.
Pod spodem, pod oknem pisania wiadomości masz załączniki, wrzuć pliki to poszukamy.
Liczba postów: 340
Liczba wątków: 38
Dołączył: 28-04-2010
Reputacja:
15
Jak pomogłem daj '+'. To nie boli, a ja mam satysfakcję
Any sufficiently advanced technology is indistinguishable from magic.
Liczba postów: 2,587
Liczba wątków: 2
Dołączył: 03-04-2010
Reputacja:
58
Sprawdź czy na pewno masz wszystkie pliki DLL w katalogu extension (konkretnie w tym katalogu C:\serwer\PHP\ext).
|
Użytkownicy przeglądający ten wątek: 2 gości
|
|
Sponsorzy i przyjaciele
|
|
|