cannot redeclare xmlrpc_decode()

If you are using xmlrpc.inc from usefulinc and get this error using a PHP 4.1.0 or later, it looks like it is due to PHP using the same function names for it's internal xmlrpc functions as xmlrpc.inc uses for xmlrpc_decode() and xmlrpc_encode(). This would only happen if you compile PHP with --with-xmlrpc

A quick hack is to rename those functions in xmlrpc.inc.  If there's a better way, I'm all (virtual) ears.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s