From: Olvin <olvin@rambler.ru> 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 20:35:25 -0800 Message-ID: <47BCFF8D.3010603@rambler.ru> (raw) In-Reply-To: <20080220164813.GB30622@wo.int.altlinux.org> 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). >> В VPS что-то не так с многопоточным выполнением? > VPS тут не причём. тот же вопрос, что и выше.
next prev parent reply other threads:[~2008-02-21 4:35 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 [this message] 2008-02-20 18:44 ` Alexey Sidorov 2008-02-20 19:28 ` Dmitry V. Levin 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=47BCFF8D.3010603@rambler.ru \ --to=olvin@rambler.ru \ --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