Reputation: 964
I am familiar with PHP-MYSQL on Apache Server, Now i want to Try PYTHON with Apache & Mysql. My Machine is Already Installed With Apache-PHP-MYSQL. So i want to know is it possible to configure Python on the same server. Please let me know some links for documentation on this.
Upvotes: 5
Views: 9141
Reputation: 94
Of course you can, it should be just about another module to insert into apache.
You can use the old CGI way (http://www.modpython.org/), but nowadays we have a fast WSGI, as mentioned in post above.
I recommend you to check http://docs.python.org/howto/webservers.html, I think it covers all information you will need.
Upvotes: 1
Reputation: 1293
Absolutely possible, as a matter of fact have you heard of PiP? I have even called Python without PiP and echo out lines in an HTML table before. Works like a charm.
Upvotes: 1
Reputation: 798716
You probably want mod_wsgi, which will allow you to run Python code (built against WSGI) from httpd.
Upvotes: 4