1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
Am I correct in my understanding that you are using Amazon Linux 2023?
Installation is done with the following command.
sudo su - dnf install httpd -y dnf install httpd-devel -y dnf install python3-pip -y dnf install python3-devel -y pip install mod_wsgi
Once installed, add the following settings to the Apache configuration file.
LoadModule wsgi_module /usr/local/lib64/python3.9/site-packages/mod_wsgi/server/mod_wsgi-py39.cpython-39-x86_64-linux-gnu.so
Relevant content
- asked 2 years ago
- Accepted Answerasked 3 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago