How to install xmlrpc?

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..

Here are the steps -
 
1. 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
 
2. Go to path : cd /usr/local/directadmin/custombuild/configure/fpm

3. cp configure.php55 configure.php55_ORG

4. Edit configure.php55 file

5. 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.

6. Once the changes has been made then come to the following path -
cd /usr/local/directadmin/custombuild

7. Execute below command -
./build php n

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

8. You can check by running the command -
php -m | grep xmlrpc
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How to list all files under directory?

When there is no 'index.php' or 'index.html' file and you'd like to display all the files under...

How to upgrade the php from 5.4 to 5.6?

If you are running php 5.4 on the server and want it to be upgraded to 5.6 . Additionally, your...

MySql Database has gone away

You may come across the error "MySql Database has gone away". I came across this error while...

How to forward the website to another URL?

Forwarding the website to another URL - 1. Using index.php file - 1. Create the page as...

How to upgrade mysql with custombuild 2.0?

Before doing any updates of MySQL be sure to create full backups of all databases.Steps to...

Powered by WHMCompleteSolution