phpxamppodooxml-rpcripcord

Enable XML-RPC on Xampp


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.


Solution

  • 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