Archive for September, 2008

no more libgmailer.php and the Gmail Contacts Data API?

September 30, 2008

dun dun duuuuuuuunnrrrrr —> http://code.google.com/apis/contacts/

and why did i not find this months ago??

http://code.google.com/apis/contacts/developers_guide_protocol.html

argh! this is going to make life soo much eaiser.

ERROR: Date_Calc is not installed – Dreamhost

September 2, 2008

ERROR: Date_Calc is not installed. You must install the date library. (with Dreamhost shared hosting)

ssh into ~

pear config-create $HOME .pearrc

install pear:

pear install -o PEAR

then install the date module

pear install pear/date

update the paths (can never get this part to work, so using the other method below)

export PHP_PEAR_PHP_BIN=/usr/local/php5/bin/php
export PATH=/home/*****/pear:/usr/local/php5/bin:$PATH

or include it this way: (index.php)

ini_set(
  'include_path',
  ini_get( 'include_path' ) . PATH_SEPARATOR . "/home/*****/pear/php"
);