-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websever using Apache, SQL and PHP #79
Comments
Thanks for sharing! Probably a better place is the IOT2000 user forum. The DEPENDS and RDEPENDS of the image recipe on apache2 shouldn't be required. Adding that package to IMAGE_INSTALL does that for you. Also, there should be no reason to add uclibc. We have both glibc (the main libc, also used by php) and uclibc on board, but the latter is only used by the Arduino runtime. Yocto is confused due to the presence of both and generates a couple of harmless warnings. If those warnings all disappeared with your changes, we may have to look into what they actually did. |
You are right, the inclusion of uclibc indeed helped solving these warnings. If I can help you with any additional information on this, please let me know! |
Cool. If you can explain why that is needed and write a patch for current master, we would be happy to merge that! |
Saying "information" I meant something like the warnings I received or similar:D |
FWIW, those uclibc-related warnings have been resolved upstream meanwhile. |
Hi everyone,
since I had some hard time creating an image for IOT2000 using apache, SQL and PHP, I wanted to share my solution with others to save them some time. I am not sure if this is the right place to do so. If there is a better place, I would appreciate if you would transfer the information to there.
As a base, a used the example layer of this thread: Link
Add the following to
meta-iot2000-example/kas.yml
:Create a the new file (if not existing)
meta-iot2000-example/receipes-code/images/iot2000-example-image.bbappend
and add the following content:Add the following to meta-iot2000-example/conf/layer.conf:
Make sure to not forget the spaces between " and the beginning of the package name.
Compile everything with
kas build meta-iot2000-example/kas.yml
and write the resulting.wic
file to the IOT2000.To make apache and php work together, add the following lines to
/etc/apache2/httpd.conf
on the IOT2000:Then you can restart apache using
/etc/init.d/apache2 restart
I hope this helps somebody!
The text was updated successfully, but these errors were encountered: