Running some porting scripts (command line PHP) for drupal yesterday - and for the first time trying out postgres.
I kept getting a segmentation fault at the end of each script.
Turns out that there is some issue with the curl and postgres php modules.
For a workaround on debian see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411982#120 - it changes the order of loading.
This is based on the information on http://developers.sugarcrm.com/wordpress/2008/11/25/enabling-xdebug-under-os-x-leopard/. Download xdebug 2.0.4 (or later - but this is based on the 2.0.4 build) - extract it.
I was experiencing odd things integrating to google maps - although I have both an API key for http and https - only https was working.
It turns out that the setting of the apache environment variable SERVER_PORT was always 443 irrespective of whether I was using http/80 or https/443 from the client.