This has nothing to do with CakePHP - it is a pure-PHP issue.
Maybe the versions of PHP you use in the CLI (terminal) abd web are
different? Check which is which and if different see how to configure the
web-based one.
It really depends on what OS you are running this. Any web application
could choose a different PHP version (if available on the server) via the
web server config. For example, if it is Apache, this could change in the
.htaccess or in the apache config files.
You need to investigate more but one thing is sure - this is not a Cake
issue.
Hope this helped.
Cheers, Borislav.
On Monday, 14 March 2016 05:33:39 UTC+2, Arun NV wrote:
>
>
> down votefavorite
> <http://stackoverflow.com/questions/35885577/how-to-upgrade-tls-version-in-cakephp-2-2-1#>
>
> I am using *cakePHP2.2.1* and *PHP5.3.10*.And i have updated *curl* and
> *libcurl* now curl is supporting *TLS 1.2* in *terminal*. But when i am
> trying to send *curl* request in *cakePHP* it's shows the*TLS* version as
> *1.1*. Is there anyway to configure *TLS* in *cakePHP*?
>
>
--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
We will soon be closing this Google Group. But don't worry, we have something
better coming. Stay tuned for an updated from the CakePHP Team soon.
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to cake-php+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.