Reply to Re: How to speed up php?

Your name:

Reply:


Posted by Colin Fine on 10/21/06 15:40

flamer die.spam@hotmail.com wrote:
> 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.
>

Your advice is worthless. If you have never heard of busybox, then you
know nothing about embedded Linux.

Colin

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация