Wiki » History » Revision 3
Revision 2 (stbuehler, 2012-08-11 10:42) → Revision 3/4 (stbuehler, 2013-05-29 14:40)
h1. Wiki fcgi-debug helps you to trace what happens with your fastcgi programs without having to strace them; it just sits between webserver and your fastcgi program and forwards all content while analysing it. h2. Usage Build Requires: * glib2 * libev * cmake For running you probably want [[spawn-fcgi:WikiStart|spawn-fcgi]]. Example usage (assuming the binary is in build/fcgi-debug, starts a fastcgi server listening on port 1026): <pre> spawn-fcgi -C 0 -p 1026 -n -- build/fcgi-debug /usr/bin/php5-cgi </pre> h2. Build dependencies * "glib2 >= 2.12":https://git.gnome.org/browse/glib * "libev":http://software.schmorp.de/pkg/libev.html * cmake For running you probably want [[spawn-fcgi:WikiStart|spawn-fcgi]]. h2.Build <pre> git clone git://git.lighttpd.net/fcgi-debug.git cd fcgi-debug (mkdir build && cd build && cmake .. && make) </pre>