-
-
Save waitray/dd24e8fcde39de8a37d1dfcbf7f14ae3 to your computer and use it in GitHub Desktop.
Paypal TLS upgrade fix PHP on CentOS 6 and RHEL 6 without PHP code changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
rpm -Uvh --force --nodeps --replacepkgs https://copr-be.cloud.fedoraproject.org/results/mmckinst/curl-el6/epel-6-x86_64/00143637-curl/curl-7.19.7-460.el6.x86_64.rpm | |
rpm -Uvh --force --nodeps --replacepkgs https://copr-be.cloud.fedoraproject.org/results/mmckinst/curl-el6/epel-6-x86_64/00143637-curl/libcurl-7.19.7-460.el6.x86_64.rpm | |
rpm -Uvh --force --nodeps --replacepkgs https://copr-be.cloud.fedoraproject.org/results/mmckinst/curl-el6/epel-6-x86_64/00143637-curl/libcurl-devel-7.19.7-460.el6.x86_64.rpm | |
php -r '$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://tlstest.paypal.com/"); var_dump(curl_exec($ch));' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment