Symptoms
When switching between Python versions in CloudLinux's Python selector, you may find that version 3.8 will only return 503 errors.
Description
The issue is mostly caused by the lack of the Python 3.8 WSGI package. On out of date versions of LiteSpeed, the package needs to be installed manually.
Workaround
- Ensure that LiteSpeed is version 5.4.10 or later.
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command.
/bin/bash /usr/local/lsws/admin/misc/enable_ruby_python_selector.sh
Comments
0 comments
Article is closed for comments.