Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Nieczytelne informacje o błędach w PHP
gcdreak
post
Post #1





Grupa: Zarejestrowani
Postów: 365
Pomógł: 8
Dołączył: 16.12.2008

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


Witam.
PHP wyrzuca mi błedy w plain tekście co jest bardzo nie wygodne do czytania, jak mogę je zmienić na te znane z xdebug-a.
Dodam, że pakiet php5-xdebug mam zainstalowany i zrzut przedstawia aplikację z CakePHP
(IMG:http://img839.imageshack.us/img839/5285/screenshotmozillafirefo.png)

Uploaded with ImageShack.us
Go to the top of the page
+Quote Post
thek
post
Post #2





Grupa: Moderatorzy
Postów: 4 362
Pomógł: 714
Dołączył: 12.02.2009
Skąd: Jak się położę tak leżę :D




To że jest zainstalowany, nie znaczy że w php.ini jest dobrze skonfigurowany. Jakie masz dyrektywy dla xdebuga w php.ini podaj wpierw (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
gcdreak
post
Post #3





Grupa: Zarejestrowani
Postów: 365
Pomógł: 8
Dołączył: 16.12.2008

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


  1. [xdebug]
  2. zend_extension=/usr/lib/php5/20090626/xdebug.so
  3. xdebug.remote_enable=1
  4. xdebug.remote_handler=dbgp
  5. xdebug.remote_mode=req
  6. xdebug.remote_host=127.0.0.1
  7. xdebug.remote_port=9000


  1. ls -l /usr/lib/php5/20090626/xdebug.so
  2. -rw-r--r-- 1 root root 617365 2010-07-17 21:01 /usr/lib/php5/20090626/xdebug.so
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: 24.08.2025 - 01:26