-
Notifications
You must be signed in to change notification settings - Fork 827
Closed
Description
Hi everyone,
I just struggled some time to get a yocto build using apache, mysql and php working. Since the explanation in the readme of the webserver package indeed lead me on the right path but misses some relevant information to solve the problem quickly, I wanted to share my path with others. Maybe you could include it somehow in the readme.
Create a new .bbappend file which includes the follwing:
DEPENDS= "apache2 uclibc"
RDEPENDS_${PN} = "apache2 uclibc"
PACKAGECONFIG_append += " mysql apache2 ${@bb.utils.contains('DISTRO_FEATURES', 'pam, 'pam', '', d)}"
IMAGE_INSTALL_append += " phpmyadmin"
IMAGE_INSTALL_append += " proftpd"
IMAGE_INSTALL_append += " apache2"
IMAGE_INSTALL_append += " mysql5"
IMAGE_INSTALL_append += " php"
IMAGE_INSTALL_append += " php-cli"
IMAGE_INSTALL_append += " php-modphp"
Add the following lines to your layer.conf file:
PACKAGECONFIG_append_pn-php= " apache2"
PACKAGECONFIG_append_pn-php = " uclib"
Make sure to not forget the space between " and the beginning of the package.
Best regards!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels