installing php curl with ssl extention

So, there are a couple of components here:

1. OpenSSL software installed on the system
2. cURL software (libcurl) installed on the system
3. The cURL PHP extension
4. The OpenSSL PHP extension

Based on this, this and this, I'd guess that you'd need to do the
following (NOT TESTED):

sudo apt-get remove --purge php5-curl && \
sudo apt-get install libcurl4-openssl-dev curl-ssl php5-curl



This will uninstall PHP's cURL, install OpenSSL-enabled versions of
the system's cURL, then reinstall PHP's cURL. You'll need to restart
Apache to pick up the changes in your web server.


( https://forums.aws.amazon.com/thread.jspa?threadID=60899 )

No comments:

Other Articles

Enter your email address: