Re: which programming language for server-side admin tasks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Jun 15, 2009 at 6:48 PM, John R Pierce<pierce@xxxxxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux