I wonder if anybody has successfully updated PHP 5.3 to PHP 5.6 yet on Debian squeeze and would kindly share how this can be done. My server's current system is running since 7+ years.
Debian GNU/Linux 6.0.7 (squeeze)
PHP 5.3.3-7+squeeze15 with Suhosin-Patch
Apache/2.2.16 (Debian)
Already was reading updating Debian to higher versions. Something about using wheezy or dotdeb.org sources and pinning. Further is it needed to update Apache http server too for PHP 5.6?
The reason I need to update is a problem with PHP CURL that's best described here: TLS 1.2 not working in cURL. I'm running php-cli scripts through crontab that connect to https sites and more and more fail lately. On a Windows System I already verified that with PHP 5.6 all works fine.
As I understood, the only solution would be an update to PHP 5.6. I'd also appreciate if there is any other solution like only upgrading the package php5-curl. Also I don't know how this would be done. Maybe the TLS problem can be solved in a different way, I couldn't find one.
So the last stable and supported PHP version for sqeeze seems to be the one I'm running. After apt-get update
there is nothing new (lot's of 404 sources not found errors).