Posted by Chung Leong on 01/10/06 04:34
Captain Dondo wrote:
> I am working on an embedded platform which will serve a small number of
> dynamic webpages. Right now we are looking at php+javascript with
> apache as the webserver.
What kind of hardware resources is available? Both PHP and Apache are
fairly large.
> Do we need to compile the entire php tarball or is the php module in
> apache enough to run php? Similarly, what is the minimum configuration
> of php we need, assuming we only need to access flat-file ascii data?
It's been a while since I compiled PHP on Linux. I don't believe the
language core compiles into a separate dynamically loaded library as it
does on Windows. The Apache module should be all you need. There are a
number of extensions that are included by default. Look at the options
available to the autoconf script for more info. Around 400 functions
are bundled in the standard extension and cannot be removed without
altering the source. So even if you will never call highlight_source()
or convert_cyr_string(), you're more or less stuck with them.
[Back to original message]
|