Problem:
eCommerce providers like Paypal introduced more strict SSL requirements. Ex:
“requires OpenSSL >= 1.0.1 to be installed on your server”
PHP info shows:
CURL
SSL Version OpenSSL/1.0.0
Fix:
- 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:
–with-curl=/usr/local/src/curl-7.52.1 - Rebuild Apache & PHP with EasyApache 3.
Result:
PHP info should now show:
cURL Information 7.52.1
SSL Version OpenSSL/1.0.1e