[Klone-users] new user and problem with helloworld.kl1 example

thomas fossati tho at koanlogic.com
Thu Jul 31 18:20:01 EDT 2008


Hi,

On Jul 31, 2008, at 10:22 PM, smlabs wrote:
> I don't know how may I run php and klone together on the fox. In  
> fact I read this topic in the wiki:
> http://wiki.koanlogic.com/doku.php?id=using_klone_as_a_normal_server

yes you can, wiki.koalogic.com is klone+php (dokuwiki).

Some hints follow:
a) your klone app must be configured with cgi support enabled (i.e.  
KLONE_CONF_ARGS += --enable_cgi);
b) the activation record  of your klapp in the kloned.conf file must  
contain a directive to dispatch .php files to their handler (e.g.:  
"cgi.php.handler /usr/bin/php-cgi" or whatever is php-cgi's path on  
your system).

Anyway I'd recommend this solution only in case you have legacy php  
code to reuse.  Otherwise, if you are writing a klone-app from scratch  
and you can handle one of C/C++, you will find coding .kl1 files a  
pleasant experience :) - especially is performance and low-level  
interaction is a concern (if you are using a FOX board I guess so).

> but I don't understand if boa server could work with klone... may  
> yes...

they are two different beasts, use the one that fits your need.

ciao, t.




More information about the klone-users mailing list