[oe] How to add PHP

Scott Penner gwt.scott at gmail.com
Sun Nov 17 19:39:03 UTC 2013


I probably downloaded it 2~3 weeks ago.
If I remove the code for the php in the .bb files, everything builds
fine and the image works. Wasn't sure if modphp was dependant on other
software before it would build.

Thanks,

Scott Penner

Goodwell Inc.
c. 4033761977
a. Box 906 Brooks, Ab T1R1B8

> On Nov 17, 2013, at 12:30 PM, Jack Mitchell <ml at communistcode.co.uk> wrote:
>
> I don't know how to fix your problem, but I can tell you that it's not PHP that's breaking the build, but mariadb-native. Are you using the latest oe-core and meta-oe branches?
>
>> On 17/11/13 19:16, Scott Penner wrote:
>> Ok, Thanks, makes sense, here is the log file..
>>
>> and my .bb files for fsl-image-test.
>>
>> In my bblayers.conf file I have included the webserver directory.
>>
>>
>> Not sure if this is the proper way to add a webserver, any insight is
>> appreciated!
>>
>> Thanks again
>>
>>
>>
>> On Sun, Nov 17, 2013 at 11:33 AM, Jack Mitchell <ml at communistcode.co.uk>wrote:
>>
>>> Hi Scott,
>>>
>>> Bitbake will point you to the log file in the output (it will be a fairly
>>> long filepath). If there isn't a link to a file in the output and the
>>> output is short then paste that in an email, or pastebin.
>>>
>>> If you're still struggling with what to send or where to find it, I would
>>> suggest dropping by the IRC channels and someone will be about to help
>>> further.
>>>
>>> Cheers,
>>> Jack.
>>>
>>>
>>>> On 17/11/13 16:23, Scott Penner wrote:
>>>>
>>>> Hi Jack, thanks for the reply!
>>>>   I am looking for modphp, which is in the webserver directory and I
>>>> have tried adding that package but the build fails. I've added the
>>>> apache webserver with success and took the same approach for adding
>>>> modphp. Which log files can I send? My learning is still curving :/
>>>>
>>>> Thanks,
>>>>
>>>> Scott Penner
>>>>
>>>> Goodwell Inc.
>>>> c. 4033761977
>>>> a. Box 906 Brooks, Ab T1R1B8
>>>>
>>>>  On Nov 15, 2013, at 2:52 AM, Jack Mitchell <ml at communistcode.co.uk>
>>>>> wrote:
>>>>>
>>>>>>  On 15/11/13 05:58, Scott Penner wrote:
>>>>>> Hi and thanks for this resource,
>>>>>>
>>>>>> I am trying to add PHP to my image and cannot!
>>>>>> I've tried a few different attempts, sort of documented
>>>>>> here<https://community.freescale.com/message/359851#359851>
>>>>>> Its for a imx6sabrelite board and I'm trying to modify the
>>>>>> fsl-image-test
>>>>>> image.
>>>>>> I can add the apache server, and it works, but get errors during the
>>>>>> bake
>>>>>> when adding PHP.
>>>>>> Should I be using the PHP packages in the webserver directory or
>>>>>> devtools
>>>>>> directory?
>>>>>> Do you have any working examples of a lamp install or just apache/PHP
>>>>>> install procedure?
>>>>>>
>>>>>> Thanks for any insight,
>>>>>>
>>>>>> Scott Penner
>>>>>
>>>>> Hi Scott,
>>>>>
>>>>> There should only be one location for PHP, or are you getting PHP and
>>>>> mod-php mixed up? If so, you should read up on what the differences are
>>>>> and decide which one you need.
>>>>>
>>>>> Secondly, we can't help without error logs :)
>>>>>
>>>>> Cheers,
>>>>>
>>>>> --
>>>>>   Jack Mitchell (jack at embed.me.uk)
>>>>>   Embedded Systems Engineer
>>>>>   Cambridgeshire, UK
>>>>>   http://www.embed.me.uk
>>>>> --
>>>>> _______________________________________________
>>>>> Openembedded-devel mailing list
>>>>> Openembedded-devel at lists.openembedded.org
>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>> _______________________________________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel at lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>
>>> --
>>>   Jack Mitchell (jack at embed.me.uk)
>>>   Embedded Systems Engineer
>>>   Cambridgeshire, UK
>>>   http://www.embed.me.uk
>>> --
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel at lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>>
>>
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
> --
>  Jack Mitchell (jack at embed.me.uk)
>  Embedded Systems Engineer
>  Cambridgeshire, UK
>  http://www.embed.me.uk
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list