How to install WHMCS on my PC?

Hello, I’m trying to install WHMCS on my PC (Ubuntu 16.04 64 bit) and always gives the following error in the config:

CURL with SSL Support XML Unavailable

how to install this?

PHP 7.0 WHMCS 7.1


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted

This comment has been deleted

This comment has been deleted

This comment has been deleted

This comment has been deleted

Hi @gabriel

I believe that you need to install OpenSSL in order to get that working.

If you are on an Ubuntu server, you could do that with the following command:

sudo apt install openssl

Additionally, it’s possible you need to check the PHP requirements for WHMCS and see if you are missing something:

PHP Version: Latest 7.3 or 7.4 Release PHP Memory Limit: 128MB PHP Database Extension: PDO PHP Extensions:

  • Curl with SSL
  • GD2 Image Library
  • JSON Support
  • XML
  • Iconv
  • MBString
  • GMP
  • OpenSSL
  • BC Math
  • Intl

MySQL Version: Latest 5.7 Ioncube Loaders: The latest 10.x Ioncube for your PHP version

As part of PCI compliance, an SSL library capable of TLS 1.2 may be required. If using OpenSSL, version 1.0.1c or newer is recommended.

If you’re installing it manually follow the steps listed on this site here:

Hope this helps!

Hi bieelowx,

I faced the same problem today, have solved it as follows (I am using the LAMP template in the list of one-click apps):

I. Installed the source code of CURL: wget

II. Installed the tools that are necessary to compile CURL: apt-get -y install binutils make gcc

III. Unzipped the file with CURL: unzip

IV. Went to the CURL directory: cd curl-7.60.0

V. Ran these commands: ./configure --with-nghttp2 --prefix=/usr/local --with-ssl=/usr/local/ssl make sudo make install sudo ldconfig

VI. Created a certificate authority (important, as the WHMCS error won’t go away until this and below steps are done):

mkdir /usr/local/ssl cd /usr/local/ssl openssl genrsa -out cert.key 2048 openssl req -x509 -new -nodes -key cert.key -sha256 -days 3650 -out cert.pem

VII. Opened the configuration file /etc/php/7.0/apache2/php.ini and edited two lines there, as follows:

curl.cainfo = /usr/local/ssl openssl.cafile=cert.pem

VIII. Installed the php-xml module: apt-get -y install php-xml

IX. Restarted the Apache service: service apache2 restart

X. Rechecked the requirements on the WHMCS installation webpage, and both errors are gone.

I am sure there are easier ways to achieve this, but the trial and error resulted in the steps above, which worked for me. I invite others to provide better instructions (Googling for such didn’t yield anything so far).