The best way to go about it is to get a code profiler. apd / xdebug / Zend are popular choices.
Can't seem to install apd 0.9something or xdebug 1.0.something. pear calls phpize, which in turn outputs some cryptic message and exits. (In case of APD it's something like "error on line 59". I'm not sure what file that is.) I use PHP 4.3.4 on SuSE.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php