Hallo Community,
ich habe eine Frage. Kann man den MPM Apache2 Worker deinstallieren?
Oder wie kann man sicher und ohne Stoppen einer Applikation auf den MPM Apache2 **Prefork **wechseln?
PHP7.0.7 meldet im Augenblick mit vorhandenem worker mpm:
Dec 05 13:05:34 *localhost *start_apache2[23269]: [Wed Dec 05 13:05:34.023391 2018] :crit] [pid 23269:tid 140421080238272] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Dec 05 13:05:34 *localhost *start_apache2[23269]: AH00013: Pre-configuration failed
**Details:
**
apache2ctl -V
Server version: Apache/2.4.23 (Linux/SUSE)
Server built: 2018-08-21 14:36:58.000000000 +0000
Server’s Module Magic Number: 20120211:61
Server loaded: APR 1.5.1, APR-UTIL 1.5.3
Compiled using: APR 1.5.1, APR-UTIL 1.5.3
Architecture: 64-bit
Server MPM: worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with…
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_PROC_PTHREAD_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/srv/www"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/run/httpd.pid"
-D DEFAULT_SCOREBOARD=“logs/apache_runtime_status”
-D DEFAULT_ERRORLOG="/var/log/apache2/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
rpm -qa | grep -i apache2
apache2-prefork-2.4.23-29.24.1.x86_64
apache2-mod_php7-7.0.7-9.1.x86_64
apache2-2.4.23-29.24.1.x86_64
apache2-utils-2.4.23-29.24.1.x86_64
apache2-worker-2.4.23-29.24.1.x86_64
Yast2 zeigt ebenfalls beide MPM Apache2 an.
https://tinyurl.com/yadwens3
Das ist ein PRODUKTIVES System und daher sollte kein Risiko eingegangen werden.
Welcome to SUSE Linux Enterprise Server 12 SP3 (x86_64) - Kernel
Vielen lieben Dank für Eure Hilfe
garagenclown