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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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 https://curl.haxx.se/download/curl-7.60.0.zip
II. Installed the tools that are necessary to compile CURL: apt-get -y install binutils make gcc
III. Unzipped the file with CURL: unzip curl-7.60.0.zip.
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).
Regards,
Nikolay
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:
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!
This comment has been deleted
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.