- Install Openssl Php Extension Centos Server 2016
- Install Openssl Php Extension Centos Server
- Install Openssl Php Extension Centos Server 2017
- Install Openssl Php Extension Centos 7
Mail server down no fsock connections? Document Home problem with installation of PHP software. Easy reverse proxy cache with Webfaction? How do I install the APC PECL extension for my PHP 5.3 application? HttpRequest Class in PHP 5.3 not found. How can i enable byte range request? Quit request and continue in background. PHP Tutorials - Herong's Tutorial Examples. ∟ Managing PHP Engine and Modules on CentOS. ∟ Install PHP Extensions on CentOS. This section provides a tutorial example on how to add PHP extensions on CentOS Linux systems by searching and installing the extension using the 'dnf' package manager.
Hi there, today I would like to show you how to install latest version of OpenSSL (1.1.1c) on CentOS 7
Do I need latest version of OpenSSL?
Install Openssl Php Extension Centos Server 2016
In general - you don't. Default version is doing great job and it's secure. I needed it for compiling Apache HTTP with HTTP/2 support back then and now I'm using new version every time it's released. If you need it for any other reason, this tutorial is for you:)
How to check current version of OpenSSL?

In order to check current version of installed package you need to execute following command:
It will print out version of installed package like OpenSSL 1.0.2k-fips 26 Jan 2017
How to install latest version of OpenSSL?
I compile OpenSSL from source code. In order to compile it successfully you need to install some tools that will help you compile it:
It will install compiler and few other libraries that are required to compile OpenSSL.
Next download latest version of OpenSSL source code. I like to use releases page on GitHub. I choose the version without FIPS simply because I don't need compatibility with it. And I think that it's a bit more secure to have OpenSSL without FIPS, as fixes are usually included much faster in regular version than in FIPS version. If you want to read more about it, use this link.
In order to download source code, use following command:
Source code comes in compressed package. In order to decompress it use following command:
Now it's time to configure and compile OpenSSL:
prefix
and openssldir
sets the output paths for OpenSSL. shared
will force crating shared libraries and zlib
means that compression will be performed by using zlib library
It is worth to run the tests to see if there are any unexpected errors. If there are any, you need to fix them before installing library.

In order to install library you need to execute:

Once the OpenSSL is installed, you can remove the sources and tar.gz package.
Add new version to PATH
After the installation you will probably want to check the version of OpenSSL but it will print out old version. Why? Because it's also installed on your server. I rarely override packages installed via yum. The reason is that when there is new version of OpenSSL and you will install it via yum, it will simply override compiled version, and you will have to recompile it again.
Instead of overriding files I personally like to create new profile entry and force the system to use compiled version of OpenSSL.
In order to do that, create following file:
Install Openssl Php Extension Centos Server
and paste there following content:

Save the file and reload your shell, for instance log out and log in again. Then you can check the version of your OpenSSL client. Or maybe...
Link libraries
Or maybe you will get an error with loading shared libraries? In order to fix that problem we need to create an entry in ldconfig.
Create following file:
And paste there following contents:
We simply told the dynamic linker to include new libraries. After creating the file you need to reload linker by using following command:
Install Openssl Php Extension Centos Server 2017
And volia! Check the version of your OpenSSL now. It should print out OpenSSL 1.1.1c 28 May 2019
Install Openssl Php Extension Centos 7
- Install / Initial Config
- NTP / SSH Server
- DNS / DHCP Server
- Storage Server
- Virtualization
- Cloud Compute
- (15) Configure Horizon
- Container Platform
- Directory Server
- WEB Server
- Database
- Redis
- MySQL 8.0
- PostgreSQL 12
- MariaDB 10.3
- SQL Server 2019
- Oracle Database 19c
- FTP / Samba / MAIL
- Proxy / Load Balancer
- Monitoring
- Monitorix
- OSQuery
- MRTG
- Cacti
- Munin
- Sensu
- Nagios
- SysStat
- Zabbix 4.2
- Zabbix 4.0 LTS
- Lang / Development
- Scala
- TensorFlow
- CUDA
- Ruby
- Node.js
- PHP
- Python
- .NET Core
- Java
- Desktop Environment
- Others #1
- Zarafa - Groupware
- Zimbra - Groupware
- Bacula - Backup
- Subversion - Revision Control
- Gitolite3 - Revision Control
- RabbitMQ - Message Broker
- Memcached - Memory Cache
- ElasticStack - Search Engine++
- Func - Remote Manage
- Salt - Config Manage
- Puppet - Config Manage
- Ansible - Config Manage
- Spacewalk - System Manage
- Pacemaker - HA Cluster
- PXE Boot- PXE Server
- OpenVPN - VPN Server
- LVM - LVM Manage
- Rsyslog - Syslog Server
- Cgroups - Resource Control
- Auditd - System Audit
- SELinux - Access Control
- Firewalld - Packet Filter
- Others #2