Python vs. PHP

Adam Przybyla adam at gliwice.pl
Sat Apr 21 05:20:58 EDT 2001


William Park <parkw at better.net> wrote:
> On Fri, Apr 20, 2001 at 07:31:36PM -0500, ll wrote:
>> How does Python stack up against PHP in terms of performance?  PHP runs
>> as a module in Apache, I think, whereas Python runs in a seperate
>> process.  What kind of overhead is there in starting up the VM for each
>> page hit?  How well does it scale?

> Python is stand-alone general script language, much like Perl.  Whereas
> PHP is designed to integrate into HTML file as another <...> syntax, so
> it has very tight interface with SQL database and Apache, naturally.
> But, Python and PHP are very different beast.
	... not exacly, try modpython with PyHP, it's work like 
php. But there is some problems with php and python in one
instalation. I fix this by running two httpd. Regards
								Adam Przybyla



More information about the Python-list mailing list