24x7 Technical Support Forums
Trick to install xmlrpc on Directadmin - Printable Version

+- 24x7 Technical Support Forums (http://www.24x7servermanagement.net)
+-- Forum: Linux Server Management (http://www.24x7servermanagement.net/Forum-Linux-Server-Management)
+--- Forum: DirectAdmin (http://www.24x7servermanagement.net/Forum-DirectAdmin)
+--- Thread: Trick to install xmlrpc on Directadmin (/Thread-Trick-to-install-xmlrpc-on-Directadmin)



Trick to install xmlrpc on Directadmin - Mandeep - 12-02-2016

Hello,

Installing xmlrpc module on Directadmin... Seems simple isn't it ? Might find many articles on the internet but it may not work for you because you may be editing the wrong configuration file. That's just happened to me  Tongue

Here's a trick.

Run following command on the server to check the location of the configuration file.

./build used_configs

Mine was as below: 

PHP (default) configuration file: /usr/local/directadmin/custombuild/configure/fpm/configure.php55

Go to path : cd /usr/local/directadmin/custombuild/configure/fpm

cp configure.php55 configure.php55_ORG

Edit configure.php55 file

add --with-xmlrpc \ to the configuration file.

for example:

#!/bin/sh

./configure \

        --prefix=/usr/local/php55 \

        --program-suffix=55 \

        --enable-fpm \

        --with-config-file-scan-dir=/usr/local/php55/lib/php.conf.d \

        --with-curl=/usr/local/lib \

        --with-gd \

        --enable-gd-native-ttf \

        --with-gettext \

        --with-jpeg-dir=/usr/local/lib \

        --with-freetype-dir=/usr/local/lib \

        --with-libxml-dir=/usr/local/lib \

        --with-kerberos \

        --with-openssl \

        --with-mcrypt \

        --with-mhash \

        --with-mysql=mysqlnd \

        --with-mysql-sock=/var/lib/mysql/mysql.sock \

        --with-mysqli=mysqlnd \

        --with-pcre-regex=/usr/local \

        --with-pdo-mysql=mysqlnd \

        --with-pear \

        --with-png-dir=/usr/local/lib \

        --with-xsl \

        --with-zlib \

        --with-zlib-dir=/usr/local/lib \

        --with-xmlrpc \

        --enable-zip \

        --with-iconv=/usr/local \

        --enable-bcmath \

        --enable-calendar \

        --enable-ftp \

        --enable-sockets \

        --enable-soap \

        --enable-mbstring \

        --with-icu-dir=/usr/local/icu \
        --enable-intl


(note: add \ if you are adding the module in between the configuration file. The \ tells to move on to the next module. Whereas if you are adding the module at the end of the configuration fie then \ is not needed )

once the changes has been made  then come to the following path.

cd /usr/local/directadmin/custombuild

Execute below command: 

./build php n

There you go !!! the module is installed !!!

You can check by running the command.

php -m | grep xmlrpc

Hope this article helps !!!  Smile


RE: Trick to install xmlrpc on Directadmin - Administrator - 12-02-2016

Thats very helpful.