[oe] [meta-webserver/oe][Patch 0/2] Redefine libexecdir to fix apache2
kai.kang at windriver.com
kai.kang at windriver.com
Thu Sep 5 22:38:37 UTC 2019
From: Kai Kang <kai.kang at windriver.com>
Build with
1 echo 'IMAGE_INSTALL_append = " apache2"' >>conf/local.conf
2 bitbake core-image-sato-sdk
3 runqemu qemumips64 nographic
root at qemumips64:~# systemctl status apache2
* apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-09-05 22:29:59 UTC; 45s ago
Main PID: 178 (httpd)
Tasks: 82 (limit: 546)
Memory: 7.0M
CGroup: /system.slice/apache2.service
|-178 /usr/sbin/httpd -DFOREGROUND -D SSL -D PHP5 -k start
|-192 /usr/sbin/httpd -DFOREGROUND -D SSL -D PHP5 -k start
|-193 /usr/sbin/httpd -DFOREGROUND -D SSL -D PHP5 -k start
`-194 /usr/sbin/httpd -DFOREGROUND -D SSL -D PHP5 -k start
Sep 05 22:29:59 qemumips64 systemd[1]: Started The Apache HTTP Server.
root at qemumips64:~# systemctl stop apache2
root at qemumips64:~# systemctl status apache2
* apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2019-09-05 22:30:56 UTC; 4s ago
Process: 178 ExecStart=/usr/sbin/httpd -DFOREGROUND -D SSL -D PHP5 -k start (code=exited, status=0/SUCCESS)
Process: 341 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 178 (code=exited, status=0/SUCCESS)
Sep 05 22:29:59 qemumips64 systemd[1]: Started The Apache HTTP Server.
Sep 05 22:30:51 qemumips64 systemd[1]: Stopping The Apache HTTP Server...
Sep 05 22:30:56 qemumips64 systemd[1]: apache2.service: Succeeded.
Sep 05 22:30:56 qemumips64 systemd[1]: Stopped The Apache HTTP Server.
root at qemumips64:~# systemctl start apache2
root at qemumips64:~# systemctl status apache2
* apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-09-05 22:31:15 UTC; 2s ago
Main PID: 348 (httpd)
Tasks: 82 (limit: 546)
Memory: 5.2M
CGroup: /system.slice/apache2.service
|-348 /usr/sbin/httpd -DFOREGROUND -D SSL -D PHP5 -k start
|-349 /usr/sbin/httpd -DFOREGROUND -D SSL -D PHP5 -k start
|-350 /usr/sbin/httpd -DFOREGROUND -D SSL -D PHP5 -k start
`-351 /usr/sbin/httpd -DFOREGROUND -D SSL -D PHP5 -k start
root at qemumips64:~# curl localhost
<html><body><h1>It works!</h1></body></html>
Kai Kang (2):
apache2: fix multilib file conflicts
php: sync with apache2's change
meta-oe/recipes-devtools/php/php.inc | 6 ++----
meta-webserver/recipes-httpd/apache2/apache2_2.4.41.bb | 6 +++---
2 files changed, 5 insertions(+), 7 deletions(-)
--
2.17.1
More information about the Openembedded-devel
mailing list