News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Elvin Haci's Blog:
Using Python and PHP together
June 09, 2011 @ 10:58:15

Elvin Haci has a recent post to his blog showing how he set up PHP and Python to work on the same machine, just on different ports of the same Apache instance. His example is based on Ubuntu, but the principles can be used just about anywhere.

Today i decided to install Python in Ubuntu OS and to use PHP and Python both together. If i hadn't installed php and wanted to have python as only localhost in my OS, so it was easy, there are plenty of examples which show how to do it(for example). But if you have already installed php and you want to have python, then let's go on. Of course we need two different ports if we want to do so. And i could easily install and test it. So i am sharing how i did it.

He includes all of the commands and configuration changes you'll need to get Python and Apache all set up (he assumes you already have PHP installed). He also includes a full listing of his Apache config file so you can get a feel of how it all fits together using the VirtualHosts.

1 comment voice your opinion now!
python install apache ubuntu linux configure


blog comments powered by Disqus

Similar Posts

Hiveminds Magazine: What Makes a Web Scripting Language Successful

Lorna Mitchell: Using Composer Without GitIgnoring Vendor/

HowToForge.com: Running Apache2 With PHP5 And PHP4 At The Same Time

PHPMac.com: Building and Installing Apache 2.2.0 and PHP 5.1.2 on Mac OS X 10.4.4

Ilia Alshanetsky's Blog: FUDforum 2.7.7RC1 is out!


Community Events





Don't see your event here?
Let us know!


voicesoftheelephpant code community threedevsandamaybe framework series release list api tips deployment conference symfony introduction zendserver interview laravel podcast bugfix language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework