php

PHP segmentation fault if both curl and postgres modules loaded (debian)

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.

Technorati Tags:Technorati Tags:

Running xdebug 2.0.4 on OSX Leopard apache/php

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.

Technorati Tags:Technorati Tags:

Apache2, NameVirtualHosts, SSL and SERVER_PORT

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.

Technorati Tags:Technorati Tags:
Syndicate content