This is an old revision of the document!


To enable Python or Ruby on a shared hosting environment instead of a dedicated VPS environment, CloudLinux Python and Ruby Selector is recommended. If it is not for a shared hosting environment, you can refer to our archive section for LSWS native setup.

The Python and Ruby Selector allows end users to select the specific version of Python or Ruby they need.

  • LiteSpeed Web Server 5.2+
  • CloudLinux
  1. Make sure Python and Ruby Selector works properly under Apache (follow CloudLinux instructions to install and configure).
  2. Test a Ruby or Python application with Apache and ensure it is running OK.
  3. Run script to install required ruby/python lsapi modules:
    /usr/local/lsws/admin/misc/enable_ruby_python_selector.sh
  4. Switch to LiteSpeed and try a ruby/python app
  • Admin
  • Last modified: 2018/02/27 14:23
  • by Lisa Clarke