Upgrade to latest CURL and Open SSL in WHM

eCommerce providers like Paypal introduced more strict SSL requirements. Ex:
“requires OpenSSL >= 1.0.1 to be installed on your server”

PHP info shows:
SSL Version OpenSSL/1.0.0


  • Install latest CURL:

cd /usr/local/src
wget https://curl.haxx.se/download/curl-7.52.1.tar.gz
tar -xvzf curl-7.52.1.tar.gz
cd curl*

./configure –enable-threaded-resolver –enable-http –enable-ftp –enable-proxy –enable-tftp –enable-ntlm –enable-static –with-ssl=/usr/local/ssl –enable-ipv6 –enable-shared –with-libidn
make && make install

/usr/local/bin/curl –version

  • Configure PHP to use it -Create a new file /var/cpanel/easy/apache/rawopts/all_php5 with this contents:
  • Rebuild Apache & PHP with EasyApache 3.


PHP info should now show:
cURL Information 7.52.1
SSL Version OpenSSL/1.0.1e

Install ZMQ for PHP

wget http://download.zeromq.org/zeromq-4.1.0-rc1.tar.gz
tar -zxvf zeromq-4.1.0-rc1.tar.gz
cd zeromq-4.1.0 
make install


pecl install zmq-beta


Find php.ini :

php -i | grep ‘Configuration File’


Check if extension was added:

cat /usr/local/lib/php.ini | grep zmq
Should show:

Setup a phpinfo.php file containing code phpinfo() in that folder, to check if library is loaded.


If server has a firewall, this requires opening some ports in firewall for TCP. Ex: 5555, 8080. Check scripts like push-server.php .