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