Python Web Applications In cPanel On CloudLinux

Reading Time: 2 minutes

Functionality for Python web applications can lead to increased profitability as a result of a broader offering of technologies to any current or future customers.

The Python Selector in cPanel on CloudLinux allows multiple versions of Python to run on a per-application basis. The versions of Python available to the selector is dependant on the installed Python versions. The steps below will outline installing all of the currently available versions of Python.

Prerequisites

 

Installation

Let’s install the dependencies

yum install lvemanager alt-python-virtualenv ea-apache24-mod-alt-passenger

 

Now, let’s check the list of available alt-python packages:

yum grouplist | grep alt-python

 

Next, we want to install all of the alt-python packages available:

yum groupinstall alt-python

 

Using Python Selector

First, we’re going to login to WHM, and click on the CloudLinux LVE Manager and then click on the Options tab.

lve_managerNext, click on the User Interface Settings section to expand and view the settings.

Now, uncheck the box next to Hide Python App in web-interface as seen below.
lvemanager.2

Then, we’re going to login to cPanel and then scroll down to the SOFTWARE section

new_cpanel_screencapture

The Setup Python App should now be available in this section. Click Setup Python App

new_cpanel_python_screencapture

Now, let’s choose the required version of Python from the dropdown menu.

Next, enter a name for the App Directory and finally, choose the App domain/URI and click on the Setup button.

That’s it… Awesome job!

Now that you have completed this task, you may want to consider utilizing one of our other exceptional offerings or services. We can assist you in finding the perfect server that will meet your specific business needs. Should you have thoughts, questions or concerns about this article or how best to utilize this technology, simply reach out one of our knowledgable support admins via a chat,  a phone call to 1-800-580-4985 or, open a support ticket with us at support@liquidweb.com. We’re always standing by to offer our guidance and advice to ensure you get the answers you need as quickly as possible! Thanks again for choosing Liquidweb!

Here's 75 % off, Launch a New VPS Today. Find out why 30,000 customers have chosen our Best-in-Class Performance & 24x7 Heroic Support