Pablo Viquez Blog

Mi vida y cosas relacionadas

Skip to: Content | Sidebar | Footer

Tag: debug

Zend_Log, FirePHP and Zend_Application. How to

25 November, 2009 (16:23) | PHP, debug, tech | By: Pablo Viquez

I wanted to enable logging of exceptions to my PHP log file and also display them using FireBug.
On a standard setup of Zend Framework, the Zend error handler plugin (Zend_Controller_Plugin_ErrorHandler) enable by default and it was designed for:

Errors due to missing controllers or actions
Errors occurring within action controllers

I wanted to keep using the error handler [...]

php set_include_path() function returns false

14 June, 2009 (19:22) | PHP, Web Development, debug, errors | By: Pablo Viquez

After a while struggling with the php function set_include_path() on windows, became to my attention that using the windows registry to set php configuration values they are set using the php_admin_value which forbids overriding it  on run time.
So for example, if you set the include_path on the windows registry and then you call the set_include_path [...]

Como instalar Eclipse PDT y XDebug en Windows

13 June, 2009 (02:09) | PHP, Web Development, debug, training | By: Pablo Viquez

Este tutorial enseña como ejecutar un script PHP paso a paso haciendo su depuración más sencilla y fácil. Tambien muestra paso a paso como instalar Eclipse PDT y configurarlo para usar XDebug.
Este mismo tutorial esta disponible para descargar, haga click aquí
Que necesita:

Eclipse PDT

http://www.eclipse.org/pdt/downloads/

Extensión de XDebug

http://xdebug.org/files/php_xdebug-2.0.4-5.2.8.dll

Para este tutorial, se asume lo siguiente:

Ya tiene instalado Apache y [...]