[Bug 769020] New: OpenSUSE 12.2 Beta 2 apache2 worker wont start with php
https://bugzilla.novell.com/show_bug.cgi?id=769020 https://bugzilla.novell.com/show_bug.cgi?id=769020#c0 Summary: OpenSUSE 12.2 Beta 2 apache2 worker wont start with php Classification: openSUSE Product: openSUSE 12.2 Version: Beta 2 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: asemen@suse.com QAContact: qa-bugs@suse.de Found By: Component Test Blocker: --- OpenSUSE 12.2 Beta 2 apache2 worker wont start with php I would like to use the apche2 worker, therefor did configure in /etc/sysconfig/apache2 # grep APACHE_MPM /etc/sysconfig/apache2 APACHE_MPM="worker" rpm -q apache2-worker apache2-prefork apache2-utils php5 apache2-worker-2.2.22-3.1.x86_64 apache2-prefork-2.2.22-3.1.x86_64 apache2-utils-2.2.22-3.1.x86_64 php5-5.3.13-1.1.x86_64 on start of apache2 we get: # rcapache2 start redirecting to systemctl Job failed. See system journal and 'systemctl status' for details. # rcapache2 status redirecting to systemctl apache2.service - apache Loaded: loaded (/lib/systemd/system/apache2.service; disabled) Active: failed (Result: exit-code) since Wed, 27 Jun 2012 11:42:09 +0200; 4s ago Process: 31304 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -k start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/apache2.service Jun 27 11:42:09 d172 start_apache2[31304]: [Wed Jun 27 11:42:09 2012] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need...compile PHP. Jun 27 11:42:09 d172 start_apache2[31304]: Pre-configuration failed apache starts fine without php therefore removing php in /etc/sysconfig/apache2: grep APACHE_MODULES /etc/sysconfig/apache2 APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir reqtimeout rewrite" # rcapache2 stop redirecting to systemctl # rcapache2 start redirecting to systemctl # rcapache2 status redirecting to systemctl apache2.service - apache Loaded: loaded (/lib/systemd/system/apache2.service; disabled) Active: active (running) since Wed, 27 Jun 2012 11:44:02 +0200; 2s ago Process: 31358 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -k start (code=exited, status=0/SUCCESS) Main PID: 31374 (httpd2-worker) CGroup: name=systemd:/system/apache2.service â 31374 /usr/sbin/httpd2-worker -f /etc/apache2/httpd.conf -D SYSTEMD -k start â 31375 /usr/sbin/httpd2-worker -f /etc/apache2/httpd.conf -D SYSTEMD -k start â 31376 /usr/sbin/httpd2-worker -f /etc/apache2/httpd.conf -D SYSTEMD -k start â 31377 /usr/sbin/httpd2-worker -f /etc/apache2/httpd.conf -D SYSTEMD -k start â 31378 /usr/sbin/httpd2-worker -f /etc/apache2/httpd.conf -D SYSTEMD -k start so it looks like a php apache2 modul problem -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=769020 https://bugzilla.novell.com/show_bug.cgi?id=769020#c1 --- Comment #1 from Andrej Semen <asemen@suse.com> 2012-06-27 09:49:00 UTC --- Created an attachment (id=496557) --> (http://bugzilla.novell.com/attachment.cgi?id=496557) messages log file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=769020 https://bugzilla.novell.com/show_bug.cgi?id=769020#c2 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |crrodriguez@opensuse.org Resolution| |WONTFIX --- Comment #2 from Cristian Rodríguez <crrodriguez@opensuse.org> 2012-11-01 00:09:34 CLST --- THis is the expected behaviour, to use PHP with apache worker you must use php-fpm or an apache fastcgi module. I recommend you to read the following article. http://wiki.apache.org/httpd/PHP-FPM and install apache 2.4 from the OBS Apache project. mod_php is *never* going to work correctly with worker, see the PHP documentation (apache section) where this is explained. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com