Wind River Support Network

HomeDefectsLIN5-19436
Fixed

LIN5-19436 : wrlinux 5 - apache2 server crash with modphp

Created: Sep 8, 2014    Updated: Dec 19, 2017
Resolved Date: Sep 18, 2014
Found In Version: 5.0.1.17
Fix Version: 5.0.1.20
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

There is an incompatibility between the modphp and apache2 package in wrlinux 5.
In a standard wrlinux 5 build where only the apache package is present, the service starts  without any issues:
 
Wind River Linux 5.0.1.17 qemu0 console
 
qemu0 login: root
Password:
root@qemu0:~# /etc/init.d/apache2 start
Starting web server: apache2[Tue Sep 02 08:29:07.113176 2014] [so:warn] [pid 4792] AH01574: module reqtimeout_module is already loaded, skipping
[Tue Sep 02 08:29:07.122028 2014] [so:warn] [pid 4792] AH01574: module filter_module is already loaded, skipping
AH00557: httpd: apr_sockaddr_info_get() failed for qemu0
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
httpd (pid 4676) already running
 
While with the modphp package included, it fails.
 
Wind River Linux 5.0.1.17 qemu0 console
 
qemu0 login: root
Password:
root@qemu0:~# /etc/init.d/apache2 start
Starting web server: apache2[Tue Sep 02 08:58:50.995890 2014] [so:warn] [pid 4707] AH01574: module reqtimeout_module is already loaded, skipping
[Tue Sep 02 08:58:51.004269 2014] [so:warn] [pid 4707] AH01574: module filter_module is already loaded, skipping
[Tue Sep 02 08:58:51.153623 2014] [:crit] [pid 4707:tid 3686561957888] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP.
AH00013: Pre-configuration failed
failed

Steps to Reproduce

--enable-board=intel-xeon-core --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-parallel-pkgbuilds=9 --enable-jobs=9 --enable-rm-oldimgs=yes --enable-reconfig --with-rcpl-version=0017
add modphp

build, deploy, start apache

Other Downloads


Live chat
Online