Trying to install Apache 2.4 on Ubuntu 18.04 for a WSGI application, I want to do this correctly.
Then I read this in the official Apache 2.4 documents:
"The version of Apache and its runtime libraries must have been compiled with thread support."
Now, a relatively easy way to install Apache on Ubuntu is simply by doing this:
sudo apt install apache2
My question is, will this make the installed version of Apache and its runtime libraries compiled with thread support?
If not, can anyone tell me how to do this?
I searched the official Apache documents to compile and install Apache, and it says nothing about threads.
The following tutorial can help you understand this a bit:
I ran the following in Ubuntu:
$ apache2ctl -V | grep -i 'version|mpm'
And the result can be useful to answer the question:
Server version: Apache/2.4.29 (Ubuntu) Server MPM: event
So, it seems that my Apache server is running Event MPM, and the previous tutorial says this about Event MPM:
Each process under Event can also contain multiple threads
So, I wonder if this means that my version of Apache and its runtime libraries have been compiled with thread support.