[dev] Re: [horde] Get info from XMLRPC server

Derek Colley derek at netsimple.net
Wed Apr 9 17:29:26 PDT 2003


Quoting Jan Schneider <jan at horde.org>:

> Quoting Derek Colley <derek at netsimple.net>:
>
> > [I guess dev is more appropriate for queries on new/unstable stuff?]
> >
> > I want to experiment with XMLRPC to/from horde. I am unable to reach the
> > /horde/scripts/rpc-test.php file via a browser so I ran it from the
> > command
> > line and got this...
>
> scripts/rpc-test.php is a test client, the server is at horde/rpc.php.

yup, I am trying to test the server with this client

> > # php rpc-test.php 0 derek <password>
> > X-Powered-By: PHP/4.2.3
> > Set-Cookie: webSYNC=1b9d445b45b410612c8efa55e9de88fc; path=/horde;
> > domain=localhost
> > Expires: Thu, 19 Nov 1981 08:52:00 GMT
> > Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
> > pre-check=0
> > Pragma: no-cache
> > Content-Type: text/html; charset=ISO-8859-1
> >
> > <br />
> > <b>Fatal error</b>:  Call to undefined function:  xmlrpc_encode_request()
> > in
> > <b>/var/www/html/horde/lib/RPC/xmlrpc.php</b> on line <b>110</b><br />
>
> You don't have the xmlrpc extension in php.

I'm running Mandrake 9.0 as a server.
I have found and installed:
- xmlrpc-epi-0.50-1.rpm and
- php-xmlrpc-4.2.3-9.rpm

I have also tested the /horde/rpc.php with a Java client from my laptop to the
server and I get:

<br/>
<b>Fatal error</b>:  Call to undefined function:  xmlrpc_server_create() in
<b>/var/www/html/horde/lib/RPC/xmlrpc.php</b> on line <b>36</b><br/>
<br/>
<b>Fatal error</b>:  Call to undefined function:  xmlrpc_server_destroy() in
<b>/var/www/html/horde/lib/RPC/xmlrpc.php</b> on line <b>48</b><br/>

So php still can't find xmlrpc extensions?

Do I have to re-compile php for this?


------------------------------------------------------------
webMail supplied & supported by http://webmail.netsimple.net


More information about the dev mailing list