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 -

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

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
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

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 reset and retrieve directadmin admin password using shell?

Steps to reset the direct admin password -1. Login to SSH with root user -#passwd admin 2. This...

How to update Apache to latest version?

Steps to update Apache to latest version -1. Please check the current version of Apache using...

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

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

Powered by WHMCompleteSolution