We’re excited to announce that we now support Python and Ruby applications across all of our hosting platforms! These have been popular feature requests and we’re happy to be able to announce their availability. These capabilities are made possible by CloudLinux’s Python & Ruby Selector as well as LiteSpeed’s mod_passenger support. Similar to the PHP Selector, Python and Ruby applications can be deployed directly via cPanel under the Software section as seen below.
If you select “Setup Python App”, you’ll be prompted to select your desired Python version, the app’s directory, and the app’s web address (URI). Currently, Python versions 2.7, 3.3, 3.4, 3.5, 3.6 and 3.7 are available.
Once you’ve setup the initial app you can then configure it further below. If you select “show” on the modules row, you can see a list of currently installed modules and enter the name of any that you would like to install.
To complete installation of the module, simply click “Update”. Once the process has completed, you’ll see it is no longer listed in red and that all necessary dependencies have been installed as well.
Once you have everything setup as you would like, you can test the Python app by visiting the URL that you configured it to use. You’ll see a basic “It works!” page along with the Python version that you selected.
As you can see, Ruby versions 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4 and 2.5 are currently available.
Both of these app types allow you to execute commands directly via the cPanel interface or you can use the provided command to enter the virtual environment via SSH.
We’d love for you all to give these new features a try and let us know what you think! If you have any questions or run into any issues please feel free to submit a ticket via our portal and we’ll be happy to assist. We plan to add the Node.js Selector in the near future as well so keep your eye out for that!