I created an image in more than a year ago with apache2 and php5. Now when I pull in all updates since then I realise that mod_php has been moved from the modphp recipe in meta-webserver to the php recipe in meta-oe.
I have created a php_5.6.12.bbappend file in which I have PACKAGECONFIG_append = " apache2” Not entirely sure if this is the way to do it but when I try to build the php recipe I get a bunch of errors (see below) and would really appreciate some pointer on how to do it. Would it be easier to build nginx with php support? In file included from /home/martin/Yocto/poky/rpi/tmp/work/x86_64-linux/php-native/5.6.12-r0/php-5.6.12/sapi/apache2handler/mod_php5.c:26:0: | /home/martin/Yocto/poky/rpi/tmp/work/x86_64-linux/php-native/5.6.12-r0/php-5.6.12/sapi/apache2handler/php_apache.h:24:19: fatal error: httpd.h: No such file or directory | compilation terminated. | In file included from /home/martin/Yocto/poky/rpi/tmp/work/x86_64-linux/php-native/5.6.12-r0/php-5.6.12/sapi/apache2handler/apache_config.c:25:0: | /home/martin/Yocto/poky/rpi/tmp/work/x86_64-linux/php-native/5.6.12-r0/php-5.6.12/sapi/apache2handler/php_apache.h:24:19: fatal error: httpd.h: No such file or directory | compilation terminated. | Makefile:474: recipe for target 'sapi/apache2handler/mod_php5.lo' failed | make: *** [sapi/apache2handler/mod_php5.lo] Error 1 | make: *** Waiting for unfinished jobs.... | Makefile:478: recipe for target 'sapi/apache2handler/apache_config.lo' failed | make: *** [sapi/apache2handler/apache_config.lo] Error 1 | /home/martin/Yocto/poky/rpi/tmp/work/x86_64-linux/php-native/5.6.12-r0/php-5.6.12/sapi/apache2handler/php_functions.c:33:23: fatal error: ap_config.h: No such file or directory | compilation terminated. | Makefile:480: recipe for target 'sapi/apache2handler/php_functions.lo' failed | make: *** [sapi/apache2handler/php_functions.lo] Error 1 | /home/martin/Yocto/poky/rpi/tmp/work/x86_64-linux/php-native/5.6.12-r0/php-5.6.12/sapi/apache2handler/sapi_apache2.c:41:23: fatal error: ap_config.h: No such file or directory | compilation terminated. | Makefile:476: recipe for target 'sapi/apache2handler/sapi_apache2.lo' failed | make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1 | WARNING: exit code 1 from a shell command. | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (log file is located at /home/martin/Yocto/poky/rpi/tmp/work/x86_64-linux/php-native/5.6.12-r0/temp/log.do_compile.2418) -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto