php: using php_pear LWRP instead of the expect script