Official information about which programming languages Cpanel supports

Operating System & Version
CentOS v7.9
cPanel & WHM Version
v102.0.14

django

Registered
May 5, 2022
2
0
1
BR
cPanel Access Level
Reseller Owner
Is there any Cpanel documentation I can consult about currently supported programming languages?

In case it is necessary to create some sites in languages like Python, C, Java, C++, C#, Ruby, Perl, etc... Which languages are currently officially supported by Cpanel so that it is possible to work 100% through Cpanel without the need for any installation server-level?

In unsupported program languages, what would be the limitations in the case of this manual server-level installation? Wouldn't there be Cpanel integration in this case? Is there a safe way to do this?

I checked in several posts but I didn't find the information I need in an updated and official way, I believe this can help other people with the same question.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
9,904
1,544
313
cPanel Access Level
Root Administrator
Hey there! I think the safest way to answer this would be that cPanel itself doesn't support any languages for the end-user. That is all handled by various interpreters and compilers that would need to be installed on the operating system itself.

For example, cPanel does provide tools for PHP to be used, such as the PHP software itself, various modules, and the Apache system necessary to handle the connections and interpret the web data. But cPanel has no idea about C++ from the standpoint of being able to place those types of files in a directory and have them work.

Does that make sense?
 
  • Like
Reactions: django

django

Registered
May 5, 2022
2
0
1
BR
cPanel Access Level
Reseller Owner
Thanks for the feedback, it makes perfect sense. I think my original question was too broad and maybe what I'm looking for doesn't have an exact answer, but rephrasing:


Today, which programming languages can I install/use through Cpanel to create domains/sites? I wanted to plan in a way that wasn't limited by issues that can only be implemented at the admin level.

I have this question because I wanted to start using several programming languages but in a way that doesn't affect the functionality of everything that already exists following the "standard model" of Cpanel.

I know that EasyApache, for example, can meet this demand in some cases, but as I don't have room for testing, I wanted to validate everything possible through feedback from both the team and the Cpanel community.
 

ecartz

Member
Oct 23, 2021
8
4
3
United States
cPanel Access Level
Root Administrator
cPanel comes with API integrations for PHP and Perl. E.g. see here: Create MySQL database · cPanel & WHM Developer Portal

But if you want to access the cPanel API from Python, Ruby, etc., you could use the URL version. It's more work in that you have to handle more of the communication overhead, but it's not impossible.

If you don't need the cPanel API, then you might read cPanel programming languages for a response to a similar question. Note that for some languages, cPanel makes it easy for you. E.g. PHP. For others (e.g. Java), you have to do the heavy lifting of configuring Apache/Nginx/whatever yourself. In general, if you could configure a web server with a cPanel-compatible OS to support a language, you will still be able to do so with cPanel installed on that OS.

If you don't know what you're doing, you might find that cPanel doesn't provide enough help outside its supported languages like PHP. But cPanel shouldn't make it harder. It just doesn't necessarily help.
 
  • Like
Reactions: cPRex