0

I read this answer to a similar problem but it doesn't work for me. In my custom-meta-layer/recipes-core/images/<image>.bbappend I wrote:

EXTRA_OEMAKE += "build-openstlinuxeglfs-stm32mp1=. --enable-mbstring"

IMAGE_INSTALL += " \
    rsync \
    php \
    php-cli \
    php-modphp \
    phpmyadmin \
    sqlite3 \   
    apache2 \
    nano \
    "

as suggested in the answer linked above. But when I bitbake <image> I get:

Nothing RPROVIDES 'php-modphp'

Did I not understand the answer? Or perhaps something has changed over the time? I need to enable: php-mbstring php-intl php-xml libapache2-mod-php in order to let apache2 to show php pages.

Mark
  • 4,338
  • 7
  • 58
  • 120
  • Are you using a layer that has a recipe that rprovides php-modphp -- probably meta-oe? – Jussi Kukkonen Oct 03 '19 at 08:57
  • 1
    You have to add `PACKAGECONFIG_pn-php = "mysql sqlite3 imap opcache openssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} apache2"` to local.conf or create equivalent `php_%.bbappend`. – Nayfe Oct 03 '19 at 09:23
  • @JussiKukkonen: actually, I'm confused because I cannot find a recipe for `php-modphp` even on http://layers.openembedded.org/layerindex/branch/thud/recipes/?q=php-modphp – Mark Oct 03 '19 at 12:37
  • 1
    @Nayfe you should write answers, not comments :-) Thanks to your hint I was able to enable the module BUT 1. I had to re-create the same path (`meta-custom-layer/recipes-devtools/php/php_%.bbappend`. 2. it didn't copy `php-modphp` to the rootfs. I manually deployed it. – Mark Oct 03 '19 at 13:55
  • I write answers only when I'm sure, and in Yocto world, I'm not sure about anything ;) – Nayfe Oct 06 '19 at 06:03

0 Answers0