Apache is the best PHP server, and the Apache server under httpd 2.4.15 has security vulnerabilities, so it is necessary to install the latest version of the Apache server.
Introduction
Apache is the best PHP server, and the Apache server under httpd 2.4.15 has security vulnerabilities, so it is necessary to install the latest version of the Apache server.
In this tutorial I am going to describe simple steps to install the latest Apache (The latest version of the Apache server is httpd 2.4.29) version on your Centos 7 system.
step1: Check out the Apache version in default repository
If you have default installation, you will most likely see similar output.
As you can see from the output above, there is only 2.4.6 Apache version available in default repos.
Then, Run the following two commands to view the change log (which can be ignored)
Then, Run the following two commands to view the change log (which can be ignored)
step2: Set up CodeIT repositories,CodeIT provides the latest version of web server, such as apche and nginx server. Before setting up CodeIT, you need to start EPEL, which is a package that CodeIT must depend on.
Enable the CodeIT repository, copy all.
Then verify the Apache package version again and you should see something like that.
step3: Install the Apache httpd web-server
Start / restart / stop the Apache httpd2.4.29 server with the following command
thanks!
No comments:
Post a Comment
Note: only a member of this blog may post a comment.