From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] ovz + apache2 + php5 = "You need to recompile PHP"
Date: Wed, 20 Feb 2008 22:28:04 +0300
Message-ID: <20080220192804.GD11909@wo.int.altlinux.org> (raw)
In-Reply-To: <47BCFF8D.3010603@rambler.ru>
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
On Wed, Feb 20, 2008 at 08:35:25PM -0800, Olvin wrote:
> Dmitry V. Levin wrote:
> >> Anton Farygin wrote:
> >>>> Имеем:
> >>>> ALS4.0.1
> >>>> apache2 + mod_php5
> >>>> 2.6.18-ovz-smp-alt17
> >>>> при попытке service httpd2 start получаю такое:
> >>>> [Wed Feb 20 17:03:56 2008] [crit] Apache is running a threaded MPM, but
> >>>> your PHP Module is not compiled to be threadsafe. You need to recompile
> >>>> PHP.
> >> [skip]
> >>> Попробуйте поставить другой apache.
> >>> Какой-то из этих:
> >>> apache2-httpd-worker
> >>> apache2-httpd-prefork
> >> А в чём отличие?
> > Отличие в модели работы. Ключевые слова для поиска: worker, prefork.
>
> ну, то, что prefork на каждое подключение форк делает, а другой создаёт
> поток внутри одного процесса (не уверен в правильном выборе терминов) -
> это я понимаю. Вопрос в том, почему одно работает в VPS, а другое - нет
> (но работает вне VPS).
Неправильное сочетание apache2+mod_php5 не работает нигде.
Правильное сочетание apache2+mod_php5 работает и там и там.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-02-20 19:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-21 0:25 Olvin
2008-02-20 14:47 ` Anton Farygin
2008-02-21 2:21 ` Olvin
2008-02-20 16:48 ` Dmitry V. Levin
2008-02-21 4:35 ` Olvin
2008-02-20 18:44 ` Alexey Sidorov
2008-02-20 19:28 ` Dmitry V. Levin [this message]
2008-02-20 19:46 ` Anton Farygin
2008-02-20 20:06 ` Alexey Sidorov
2008-02-21 8:49 ` Sergey V Kovalyov
2008-02-21 6:35 ` Aleksey Avdeev
2008-02-22 12:30 ` Olvin
2008-02-22 13:53 ` Aleksey Avdeev
2008-02-20 14:50 ` Slava Dubrovskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080220192804.GD11909@wo.int.altlinux.org \
--to=ldv@altlinux.org \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git