|
Posted by flamer die.spam@hotmail.com on 10/20/06 03:44
CptDondo wrote:
> I've got a problem with performance...
>
> I'm working on a fairly slow embedded platform (a 200 MHz ARM board).
> We run a browser and a webserver on the same platform.
>
> I've timed the performance, and the webserver takes between 5 and 6
> seconds to generate the page. Most of this time is spent running php.
> The webserver is buysbox's httpd daemon, which invokes php every time a
> page is served.
>
> I'm guessing that I could save a few seconds of this time by keeping php
> resident in memory so rather than incurring the overhead of starting it
> every time.
>
> So... Is this a right guess? How long does it take to load php? Is
> there some way to daemonize PHP so that it doesn't have to load up every
> time?
>
> I am looking for any and all suggestions to speed this beast up....
>
> --Yan
My advice would be to stick a fresh copy of debian 3.1 stable on the
box, no X (no gui at all), install apache and php and then save your
php scripts onto it and load them via a network connection, if you
havent used an OS without a gui before there will be some learning
involved but its useful and there are lots of useful sites out there
with step by step, and to install apache and php you just simply type
apt-get install apache. that wil download the files and run the
configuration.
i have never heard of buysboxs webserver but i am sure its rubbish.
Flamer.
[Back to original message]
|