Thanks for replying.
As it turns out the issue was that the pear install was reading the current Environment Variables from seperate installs that were never removed which had different paths. So I manually corrected them re ran the pear install and all is good now.
Thanks