[CentOS] which programming language for server-side admin tasks

Rudi Ahlers rudiahlers at gmail.com
Mon Jun 15 17:45:22 UTC 2009

On Mon, Jun 15, 2009 at 6:48 PM, John R Pierce<pierce at hogranch.com> wrote:
> Rudi Ahlers wrote:
>> What I meant was, PHP talks to PHP script engine, which talks to
>> Apache, which then talks to system commands. - is there a quicker way
>> of doing it?
> um, thats somewhat mixed up.     user -> browser -> apache -> php that
> interprets your script -> OS function
> with a native compiled language like C++, its user -> browser -> apache
> -> compiled C++ binary -> OS function
> not really -that- different, as theres far more overhead in all the rest
> of the process than in the actual script or program,unless its doing
> something very computationally intensive.
> also note, PHP is a preloaded module, while your C++ program probably
> gets forked on every webpage, unless you write it as an apache
> module...  ooops.
> _______________________________________________

Thanx John, I didn't think about it this way :)

But would PHP be able to perform all tasks that PERL / C++ can?

Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532

More information about the CentOS mailing list