learning_curve
Golden Pleskian
We don't use the CentOS supplied PHP 5.4.* at all. We (currently) only use PHP 7.2.5 supplied by Plesk on all domains. Not had any issues or problems with it (or PHP 7.1.* in the past either) Nice! However... PHP & OpenSSL
The supplied PHP 7.2.5 is compiled by Plesk using OpenSSL 1.0.1e-fips - Feb 2013! (see image) As lots of previous PHP versions have been too. Well they are on Plesk 17.5.3 anyway. If you're on 17.8.11 please let us know if it's different.
Also within the same Plesk supplied PHP 7.2.5 is this specification line:
We want to remove the ssl, sslv3, tls, tlsv1.0 and preferably even tlsv1.1 too leaving only tlsv1.2 (like the rest of our server). Hence we're starting with the connection to the OpenSSL version that the Plesk supplied PHP 7.2.5 is using...
We've searched before posting this, but our conclusion is that Plesk are not going to change this anytime soon (we think)
So the only options we can see to achieve this are:
a) Re-compile PHP 7.2.5 ourselves and run that - Should be fine, but updates / upgrades could then become labour intensive and this therefore defeats the object (unless we choose to stay at PHP 7.2.5 by default for a long time)
b) Install a separate OpenSSL PHP Extension, configure this to use our current OpenSSL (1.1.0h) etc and invoke this via php.ini. Not completely sure this will work yet, but maybe somebody has already tried this? If / when working correctly, the separate OpenSSL PHP Extension would run instead of the current setup and therefore, the future Plesk PHP upgrades would be unaffected. It's easy to isolate / remove the php.ini data and/or rework the separate extension if needed.
c) Using another method that we don't know enough about - yet. If you do know of one, please advise
Any other thoughts, comments are welcome.
The supplied PHP 7.2.5 is compiled by Plesk using OpenSSL 1.0.1e-fips - Feb 2013! (see image) As lots of previous PHP versions have been too. Well they are on Plesk 17.5.3 anyway. If you're on 17.8.11 please let us know if it's different.
Also within the same Plesk supplied PHP 7.2.5 is this specification line:
Code:
Registered Stream Socket Transports - tcp, udp, unix, udg, ssl, sslv3, tls, tlsv1.0, tlsv1.1, tlsv1.2
We've searched before posting this, but our conclusion is that Plesk are not going to change this anytime soon (we think)
So the only options we can see to achieve this are:
a) Re-compile PHP 7.2.5 ourselves and run that - Should be fine, but updates / upgrades could then become labour intensive and this therefore defeats the object (unless we choose to stay at PHP 7.2.5 by default for a long time)
b) Install a separate OpenSSL PHP Extension, configure this to use our current OpenSSL (1.1.0h) etc and invoke this via php.ini. Not completely sure this will work yet, but maybe somebody has already tried this? If / when working correctly, the separate OpenSSL PHP Extension would run instead of the current setup and therefore, the future Plesk PHP upgrades would be unaffected. It's easy to isolate / remove the php.ini data and/or rework the separate extension if needed.
c) Using another method that we don't know enough about - yet. If you do know of one, please advise
Any other thoughts, comments are welcome.