skip to Main Content

I’m working on a project and I need to connect to Odoo via XML-RPC. The documentation suggests using Ripcord library, and for this I need to enable XML-RPC on my enviroment, but I’ve got no clue how to do this. I’ve been googleing for the last couple of days but couldnt find answers on a similar setting that I could understand.

Im working on XAMPP for Mac, and the PHP version is 8.0

Thanks in advance.

2

Answers


  1. You can try to install xmlrpc extension with following commands:

    git clone https://git.php.net/repository/pecl/networking/xmlrpc.git
    export CPPFLAGS=-I/usr/include/libxml2/
    cd xmlrpc && phpize && ./configure --with-expat && make && make install
    echo "extension=xmlrpc.so" > /etc/php/8.0/mods-available/xmlrpc.ini
    

    That’s how I installed it on my Ubuntu.

    Also you can check this if you don’t know how to compile extensions on OS X

    Login or Signup to reply.
  2. You can try download xmlrpc extension in pecl website and install the compatible dll into your xampp.

    1. Go to https://pecl.php.net/package/xmlrpc and download the dll
    2. Copy the .dll file to your xampp/php/ext folder
    3. Add this text to your php.ini

    extension=php_xmlrpc.dll

    1. Restart apache service
    2. Done
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search