Ignore question "1" of the previous email... I should be using at least
php-cgi, not php-cli.... ehem... ':D
Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 636 52 25 69
skype: ajoajoajo


2011/2/22 Miguel Angel <[email protected]>

>
> Hi there,
>
>    I'm preparing an small ARM9 based embedded demo with cherokee for one of
> my clients at  http://www.cabimer.es/web/es/ that's
> building a distributed system to handle warnings & alarms for all their
> scientific machines.
>
>    They won't have web interface at the start, but I think that at some
> point they can find it interesting, I also know that
> some of their developers (that will build the application code for the
> alarm system) have php programming knowledge,
> so I want to plant the seed in hope that they'll finally use cherokee. I
> also will "plant" this as a default configuration for
> our NB31xx modules (http://projects.nbee.es/display/NB31/NB31xx+Home)
> cherokee package :-)
>
>    For that, I have 2 issues to solve:
>
> 1)       Handle php queries (at this moment I have php-cli compiled, with
> no fcgi support as it's not compiling in my ARM toolchain
> for some unknown reason... and sadly couldn't spend some more time on this
> right now), so I thought of using the standard
> cherokee CGI handler + script_alias.
>
>          a) what does script_alias exactly, call the script_alias
> executable with the script path as command line? , If it's that, I think
> that the command line is being omited for some reason (at least is that
> what my PS shows..., and php-cli waits forever)
>
>          b) there is some way to force the "Content-type" header or other
> headers before cgi output?
>
>          c) as a b-plan I thought of making an small wrapper to call
> /etc/bin/php pass the parameters as needed , and output the standard headers
>              as needed.
>
>          d) May be there are better ways for what I'm trying to do...
> probably I'm reinventing the wheel as I'm new to linux embedded web.
>
> 2)      Minimize memory usage: what's recommended for that? switching off
> io cache... reducing threads, switching off plugins... are the plugins
> loaded
> on demand or should I switch them off at compilation time?
>
>
>
>  Thanks for reading!! :)
>
>
>
>
> Miguel Angel Ajo Pelayo
> http://www.nbee.es
> +34 636 52 25 69
> skype: ajoajoajo
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to