http://xdebug.org/
On 6/13/07, Markus Fischer <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've this very very special problems and would ask for some hints, any helpful response is very appreciated :) The usual story: old system, big, clunky, legacy, PHP4, can't upgrade. We're having serious problems with MySQL and too many connections and so on, but we can't find out where the problematic cases are. We've gone already through lengthy auditing and logging sessions without real success. So my next idea: I go into the PHP source, in my case specifically into ext/mysql/php_mysql.c, reactive my old C skills and inject the logging of connects and queries directly into the source. Because, as ironic as it sounds, with the HUGE amount of code we have we still were not able to identify all places where mysql_(p)connect/mysql_query is used, because of using variable variables and other nice [tm] tricks. I understand my attempt is brute force and I'm pretty alone out there. So, actually I would start hacking away this very moment. But, if anyone has other suggestion how to go for this, it would be very very much appreciated. thanks for reading, - - Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGb5Yj1nS0RcInK9ARAq75AJ95JT3BqFblyfd+FUG2EsKbN8TAdgCfQ0c/ YNTYC8qTPHgzIQPxiJsGJW0= =4wNf -----END PGP SIGNATURE----- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
-- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php