Table of Contents
cPanel by-default the Python is located under “/usr/bin/python“. You can check the location by running the following command:
whereis python
chown user.user test.py
user :: Replace with cPanel username.
test.py :: The test file you created.
chmod +x test.py
3) Don’t forget to add AddHandler in .htacces file!!
Options +ExecCGI AddHandler cgi-script .py
Ah, the joys of building a website! Picture this: You're sitting there in your pajamas, coffee in hand, ready to…
Are you feeling like your website is running in slow motion? It can be frustrating when your online presence doesn't…
Are you ready to take your online store to the next level? Whether you're running a PrestaShop or OpenCart platform,…
Picture this: your website is like a fabulous party happening in the darkest corner of the internet, but nobody's showing…
Picture this: Your WordPress site is like that one friend who's always fashionably late to everything. You know, the one…