As I had to upgrade to TLS1.2 I had to upgrade to OpenSSL 1.0.1 or higher. To do that, I had to upgrade from Ubuntu 10.04 to Ubuntu 16.04
Ubuntu 10.04 had
PHP 5.3.2 MySQL 5.1.66 Apache 2.2.14 OpenSSL 0.9.8
Ubuntu 16.04 is having
PHP 7.0.18 MySQL 5.7.18 Apache 2.4.18 OpenSSL 1.0.2
As expected I have OpenSSL 1.0.2 now, but the site is not working now because PHP version is upgraded to 7.0.18. Now I have few questions
- Can I install PHP 5.3.2 separately and run that? If so, will that use TLS 1.2?
- Or if I need to remove the PHP 7 to install PHP 5.3.2, OpenSSL will also be downgraded?
- MySQL is deprecated by some version of PHP(I don't know which version of PHP/MySQL). As my MySQL version also has upgraded, still can I access MySQL from PHP 5.3.2?
I know PHP 5.3 is EOL. But I should have that version now to run my code, but with TLS 1.2.
Shortly saying, I need
PHP 5.3.2 with access to MySQL + TLS1.2(>openssl 1.0.1) + Ubuntu 16.04.
How to achieve this?