<div dir="ltr"><div>I&#39;m working on Yocto Krogoth for iMX6.</div><div><br></div><div>I have successfully added Apache2 and able to access HTML page.</div><div><br></div><div>But I want to get and process user input from HTML. From what I understand I need PHP for this.</div><div><br></div><div>But in my Yocto, I&#39;m not able to add PHP. Below is what I tried:</div><div><br></div><div>Added these to local.conf:</div><div><br></div><div> PACKAGECONFIG_append_pn-php = &quot; apache2&quot;</div><div> </div><div> IMAGE_INSTALL_append = &quot; apache2 php php-cli php-modphp&quot;</div><div>Tried modifying php.inc according to few answers on net.</div><div><br></div><div>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.</div><div><br></div><div>Tried removing IfDefine PHP5 from php.inc. This makes Apache2 to fail to load. Seems like there&#39;s some dependency. Please suggest.</div></div>