Re: [Yocto-bsp] PHP in Yocto using Apache2

2018-08-01 Thread GN Keshava
Sorry, I don't know why, but the mail I had sent on 31st Jan is being
activated now! Anyways, thanks for reply, I had solved this successfully.
If anyone faces this problem in future can mail me, I can assist.

On Thu, 2 Aug 2018 at 04:28 Kosta Zertsekel  wrote:

> >> 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.
> I suggest to do the whole thing first (adding Apache **and** PHP) using
> Yocto 2.5 (Sumo).
> When it works in Yocto 2.5 you have a reference!
> Then you can find the fixes and port them back to Yocto Krogoth...
>
> --- Kosta Z.
>
-- 
___
yocto-bsp mailing list
yocto-bsp@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto-bsp


[Yocto-bsp] PHP in Yocto using Apache2

2018-08-01 Thread GN Keshava
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.
-- 
___
yocto-bsp mailing list
yocto-bsp@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto-bsp


[yocto] PHP in Yocto using Apache2

2018-02-02 Thread GN Keshava
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.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto