Apache with PHP support under Yocto Project -


i trying install apache2 php support on linux created yocto project. unfortunately there php recipe , no package webserver. figured out there different ways include php. "module-way" should easiest 1 guess.

according this question (i have not enough reputations comment) have change php.inc.

bitbake worked fine , build image successfully. how can "activate" these module? files should edit in way since there no php support out of box.

php.inc has apache2 configuration; enable, add local.conf

packageconfig_append_pn-php = " apache2 "  
packageconfig ??= "mysql sqlite3 imap \                    ${@bb.utils.filter('distro_features', 'ipv6 pam', d)} \ " packageconfig_class-native = ""  packageconfig[mysql] = "--with-mysql=${staging_dir_target}${prefix} \                         --with-mysqli=${staging_bindir_cross}/mysql_config \                         --with-pdo-mysql=${staging_bindir_cross}/mysql_config \                         ,--without-mysql --without-mysqli --without-pdo-mysql \                         ,mysql5"  packageconfig[sqlite3] = "--with-sqlite3=${staging_libdir}/.. \                           --with-pdo-sqlite=${staging_libdir}/.. \                           , \                           ,sqlite3" packageconfig[pgsql] = "--with-pgsql=${staging_dir_target}${exec_prefix},--without-pgsql,postgresql" packageconfig[soap] = "--enable-libxml --enable-soap, --disable-soap, libxml2" packageconfig[apache2] = "--with-apxs2=${staging_bindir_cross}/apxs,,apache2-native apache2" packageconfig[pam] = ",,libpam" packageconfig[imap] = "--with-imap=${staging_dir_host} \                        --with-imap-ssl=${staging_dir_host} \                        ,--without-imap --without-imap-ssl \                        ,uw-imap" packageconfig[ipv6] = "--enable-ipv6,--disable-ipv6," 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -