PHP support for IMX8MQ yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PHP support for IMX8MQ yocto

1,855件の閲覧回数
anumulamudi_sir
Contributor I

Hello nxp,

we are using imx8mq evk + yocto latest distribution 4.14.98

how to add php and lighttdp support

Regards,

sireesha

ラベル(2)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,688件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello khyathi,

If this is to be done in the bitbake itself then,

 

1. Add only php-cgi to image.bb file.

 

2. Modify lighttpd.bb file for the below lines,

 

RDEPENDS_${PN} += " \

              lighttpd-module-access \

              lighttpd-module-accesslog \

              lighttpd-module-indexfile \

              lighttpd-module-dirlisting \

              lighttpd-module-staticfile \

              lighttpd-module-rewrite \          --added new

              lighttpd-module-auth \              --added new

              lighttpd-module-fastcgi \          --added new

"

 

3. Recompile image for lighttpd package.  ---bitbake -c clean package

 

4.Now rebuild with bitbake image.

 

I’ve seen this question also in external forums, I hope that they can provide some guidance as there is no documentation for running php on the i.MX.

 

I’ve found the following thread in an external forum, perhaps it can help. Although I’m guessing maybe you already found it while searching on the web.

Install PHP via Yocto - Toradex Community 

Regards

0 件の賞賛
返信

1,688件の閲覧回数
anumulamudi_sir
Contributor I

I added these lines in lighttpd_1.4.48.bb file

RRECOMMENDS_${PN} = "lighttpd-module-access \
                     lighttpd-module-accesslog\
                        lighttpd-module-dirlisting
                        lighttpd-module-staticfile\
                        lighttpd-module-rewrite\
                        lighttpd-module-auth\
                        lighttpd-module-fastcgi"

while building i am getting this error 

unparsed line: 'RRECOMMENDS_${PN} = "lighttpd-module-access lighttpd-module-accesslog lighttpd-module-dirlisting'

0 件の賞賛
返信