Good mornin guys,
I seen on your webhosting features list that you do offer python web programming. I want to know if you do, what is the path to the python interpreter to use in the shebang(#!/usr/bin/python)? And what extension should i use for it..because i have been searching the mime types in the cpanel, but i could not find any for python specifically.
Thank you for assistance.
Page 1 of 1
How do i use python? Python web programming
#2
Posted 05 March 2012 - 04:11 AM
prolly is /usr/local/bin/python
as far as i know, php is under /usr/local/bin... guess python too...
as far as i know, php is under /usr/local/bin... guess python too...
Cheers,
Patryk Moura.
Patryk Moura.
#3
Posted 05 March 2012 - 08:46 AM
Patryk Moura, on 05 March 2012 - 04:11 AM, said:
prolly is /usr/local/bin/python
as far as i know, php is under /usr/local/bin... guess python too...
as far as i know, php is under /usr/local/bin... guess python too...
Thanks Patryk, I did try that, but i get an 500 internal server error. the same for any cgi and perl scripts. Is there anything i need to setup first before I use python and perl?
#4
Posted 05 March 2012 - 09:23 AM
lab_rat, on 04 March 2012 - 06:27 AM, said:
Good mornin guys,
I seen on your webhosting features list that you do offer python web programming. I want to know if you do, what is the path to the python interpreter to use in the shebang(#!/usr/bin/python)? And what extension should i use for it..because i have been searching the mime types in the cpanel, but i could not find any for python specifically.
Thank you for assistance.
I seen on your webhosting features list that you do offer python web programming. I want to know if you do, what is the path to the python interpreter to use in the shebang(#!/usr/bin/python)? And what extension should i use for it..because i have been searching the mime types in the cpanel, but i could not find any for python specifically.
Thank you for assistance.
The Basic Path to Python in cPanel is /usr/bin/python
Make sure you've got the "shebang" line and file permissions are set to 755. And make sure you have print headers.
FlightPilot
Si6 Staff
Personal Message (PM) Staff/Admin is not the right way to seek help. Just post it in the Forum and our crew will take care of it.
Go Unlimited ! Premium Hosting with Unlimited domains and 99.9% up-time for Just USD $4.99. Grab it!
Si6 Staff
Personal Message (PM) Staff/Admin is not the right way to seek help. Just post it in the Forum and our crew will take care of it.
Go Unlimited ! Premium Hosting with Unlimited domains and 99.9% up-time for Just USD $4.99. Grab it!
#5
Posted 05 March 2012 - 05:24 PM
talking about the snake or .. the one in cPanel yeah ? go to cpanel > python ..
Kind Smiles & Hugs.
Kevin R.
Concentrated power has always been the enemy of liberty.
A huge fan of Mr. Sam Barrow.
www.sixserve.com or kevinrussell.co.cc
Proud SixServe Member.
Kevin R.
Concentrated power has always been the enemy of liberty.
A huge fan of Mr. Sam Barrow.
www.sixserve.com or kevinrussell.co.cc
Proud SixServe Member.
#6
Posted 05 March 2012 - 05:47 PM
Thank you guys, I have changed my file permission to 0755 and use da correct path, but it still doesnt want to work. All my cgi files keep giving me a 500 Internal Error...Cgi, Perl, Python...
#7
Posted 06 March 2012 - 01:31 PM
maybe u shld check cpanel for error logs and report that to staff
Kind Smiles & Hugs.
Kevin R.
Concentrated power has always been the enemy of liberty.
A huge fan of Mr. Sam Barrow.
www.sixserve.com or kevinrussell.co.cc
Proud SixServe Member.
Kevin R.
Concentrated power has always been the enemy of liberty.
A huge fan of Mr. Sam Barrow.
www.sixserve.com or kevinrussell.co.cc
Proud SixServe Member.
Share this topic:
Page 1 of 1

Sign In »
Register Now!
Help
Twitter
Flickr

Back to top










