[oe] [meta-webserver][PATCH 7/7] hiawatha: add CONFFILES and a php example

Eric Bénard eric at eukrea.com
Mon Nov 26 10:30:56 UTC 2012


Hi Jack,

Le Mon, 26 Nov 2012 10:27:26 +0000,
Jack Mitchell <ml at communistcode.co.uk> a écrit :

> On 25/11/12 17:25, Eric Bénard wrote:
> > +    # configure php-fcgi to have a working configuration
> > +    # by default if php is installed
> > +    echo "Server = ${bindir}/php-cgi ; 2 ; 127.0.0.1:2005 ; nobody:nobody ; ${sysconfdir}/php/hiawatha-php5/php.ini" >> ${D}${sysconfdir}/hiawatha/php-fcgi.conf
> >   }
> 
> Looks good to me, thanks for the improvements Eric!
> 
I still have to find a good way to provide a default 
${sysconfdir}/php/hiawatha-php5/php.ini and launch php-fcgi in the init
script if php is enabled.
Do you think we could provide the file php.ini in the hiawatha recipe
(as hiawatha's doc recommends setting some options :
http://www.hiawatha-webserver.org/howto/php_configuration ) ?

Eric




More information about the Openembedded-devel mailing list