PHP in Yocto using Apache2

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

PHP in Yocto using Apache2

3,757件の閲覧回数
KeshavaGN
Contributor V

I'm working on Yocto Krogoth for iMX6.

I have successfully added Apache2 and able to access HTML page.

But I want to get and process user input from HTML. From what I understand I need PHP for this.

But in my Yocto, I'm not able to add PHP. Below is what I tried:

Added these to local.conf:

PACKAGECONFIG_append_pn-php = " apache2"
IMAGE_INSTALL_append = " apache2 php php-cli php-modphp"


Tried modifying php.inc according to few answers on net.

There is some accidental bug in Krogoth PHP git code - in php.inc. Tried using master git code changes from this. Not working. Please suggest any other changes I need to do.

Tried removing IfDefine PHP5 from php.inc. This makes Apache2 to fail to load. Seems like there's some dependency. Please suggest.

0 件の賞賛
1 返信

2,421件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Keshava G N,

I’ve seen this question also in external forums, I hope that they can provide some guidance as there is no documentation for running Apache 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.

https://stackoverflow.com/questions/38239340/apache2-with-php-support-in-yocto

Regards,

0 件の賞賛