Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [inne]Xdebug na webServ(WAMP)
kadet90
post
Post #1





Grupa: Zarejestrowani
Postów: 26
Pomógł: 1
Dołączył: 7.03.2010

Ostrzeżenie: (10%)
X----


Cze. Wie ktoś jak zainstalować Xdebug w WAMP'ie webserv ? bo jak zainstaluje tak jak mówi mi Strona Xdebuga to crashuje mi Apache z bardzo wiele mówiącym komunikatem "" (IMG:style_emoticons/default/biggrin.gif) Wiem że pewnie na własnej kombinacji nie byłoby problemu ale jestem paskudnym leniem i nie chce mi się wszystkiego instalować osobno (IMG:style_emoticons/default/tongue.gif)
Jeszcze tak z informacji bardziej technicznych
DLL'ka xdebuga: php_xdebug-2.1.0-5.2-vc6.dll
wersja PHP: 5.2
Apache: 2.2.6
I wpis dla Xdebuga w PHP INI:
Kod
; Xdebug
zend_extension_ts = "C:/WebServ/php/ext/php_xdebug-2.1.0-5.2-vc6.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
xdebug.remote_port = 9000

PS. Jak ktoś chce mogę dać cały plik PHP.ini (IMG:style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post
everth
post
Post #2





Grupa: Zarejestrowani
Postów: 782
Pomógł: 153
Dołączył: 21.07.2010

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


A co mówią logi Apache?
Go to the top of the page
+Quote Post
kadet90
post
Post #3





Grupa: Zarejestrowani
Postów: 26
Pomógł: 1
Dołączył: 7.03.2010

Ostrzeżenie: (10%)
X----


Kod
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:/WebServ/php/ext/php_openssl.dll' - Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.\r\n in Unknown on line 0
PHP Fatal error:  [Zend Optimizer] Zend Optimizer 3.3.0 is incompatible with Xdebug 2.1.0 in Unknown on line 0
[Fri Jul 30 17:55:32 2010] [warn] pid file C:/WebServ/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:/WebServ/php/ext/php_openssl.dll' - Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.\r\n in Unknown on line 0
PHP Fatal error:  [Zend Optimizer] Zend Optimizer 3.3.0 is incompatible with Xdebug 2.1.0 in Unknown on line 0
[Fri Jul 30 17:56:50 2010] [warn] pid file C:/WebServ/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:/WebServ/php/ext/php_openssl.dll' - Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.\r\n in Unknown on line 0
PHP Fatal error:  [Zend Optimizer] Zend Optimizer 3.3.0 is incompatible with Xdebug 2.1.0 in Unknown on line 0
[Fri Jul 30 17:56:52 2010] [warn] pid file C:/WebServ/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:/WebServ/php/ext/php_openssl.dll' - Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.\r\n in Unknown on line 0
PHP Fatal error:  [Zend Optimizer] Zend Optimizer 3.3.0 is incompatible with Xdebug 2.1.0 in Unknown on line 0
[Fri Jul 30 17:57:25 2010] [warn] pid file C:/WebServ/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:/WebServ/php/ext/php_openssl.dll' - Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.\r\n in Unknown on line 0
[Fri Jul 30 17:57:25 2010] [notice] Apache/2.2.6 (Win32) PHP/5.2.5 configured -- resuming normal operations
[Fri Jul 30 17:57:25 2010] [notice] Server built: Sep  5 2007 08:58:56
[Fri Jul 30 17:57:25 2010] [notice] Parent: Created child process 672
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:/WebServ/php/ext/php_openssl.dll' - Nie mo\xbfna odnale\x9f\xe6 okre\x9clonego modu\xb3u.\r\n in Unknown on line 0
[Fri Jul 30 17:57:26 2010] [notice] Child 672: Child process is running
[Fri Jul 30 17:57:26 2010] [notice] Child 672: Acquired the start mutex.
[Fri Jul 30 17:57:26 2010] [notice] Child 672: Starting 250 worker threads.
[Fri Jul 30 17:57:26 2010] [notice] Child 672: Starting thread to listen on port 80.


Czyli Problemem jest Zend Optymizer. Teraz nasuwa się pytanie jaka wersja Xdebuga jest kompatybilna z Zend Optimizer 3.3.0?
Go to the top of the page
+Quote Post
everth
post
Post #4





Grupa: Zarejestrowani
Postów: 782
Pomógł: 153
Dołączył: 21.07.2010

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


Tu masz wyjaśnienie dlaczego Xdebug nie pójdzie ci jeśli masz zainstalowanego zend optimizera - pozostaje ci wybór albo to albo to. Ewentualnie skorzystać z Zend Debuggera zamiast XDebug
Go to the top of the page
+Quote Post
kadet90
post
Post #5





Grupa: Zarejestrowani
Postów: 26
Pomógł: 1
Dołączył: 7.03.2010

Ostrzeżenie: (10%)
X----


Ok dzięki.
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: 26.09.2025 - 08:14