Python cgi-bin

Since Hostmonster (NYGC) cannot really catch up with the new Python, I could only do Python, the older version, via cgi-bin. And use PHP's exec('python test.py'); to do the trick. test.py's permission would have to be set to 755.

I've created a test folder Python in NYGC's server to test these things.

This entry was posted in Technical. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.