ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] проблемы с apache2-mod_php5
@ 2008-12-11 17:05 Denis S. Kostin
  2008-12-11 19:27 ` Boris Savelev
  0 siblings, 1 reply; 4+ messages in thread
From: Denis S. Kostin @ 2008-12-11 17:05 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Здравствуйте, ALT.

Надо было сегодня в Apache добавить поддержку php

[root@proxy conf]# apt-get install apache2-mod_php5
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Следующие НОВЫЕ пакеты будут установлены:
  apache2-mod_php5
0 будет обновлено, 1 новых установлено, 0 пакетов будет удалено и 0 не будет обновлено.
Необходимо получить 0B/70,7kB архивов.
После распаковки потребуется дополнительно 410kB дискового пространства.
Совершаем изменения...
Preparing...                                      ################################################################################################### [100%]
1: apache2-mod_php5                               ################################################################################################### [100%]
Reloading httpd2 service: [ DONE ]
Reloading httpd2 service: Service httpd2 is not running.[PASSED]
Running /usr/lib/rpm/posttrans-filetriggers
Завершено.

как то сразу насторожило::  Reloading httpd2 service: Service httpd2
is not running.[PASSED]

при попытке перезапустить апач
[root@proxy conf]# /etc/init.d/httpd2 restart
Service httpd2 is not running.                           [PASSED]
Checking configuration sanity for httpd2:  [Thu Dec 11 19:57:43 2008] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP.
Pre-configuration failed


как с ентим боротся?


-- 
С уважением,
 Denis                          mailto:admin@3436.ru




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] проблемы с apache2-mod_php5
  2008-12-11 17:05 [Comm] проблемы с apache2-mod_php5 Denis S. Kostin
@ 2008-12-11 19:27 ` Boris Savelev
  2008-12-11 19:43   ` Denis S. Kostin
  0 siblings, 1 reply; 4+ messages in thread
From: Boris Savelev @ 2008-12-11 19:27 UTC (permalink / raw)
  To: ALT Linux Community general discussions

11 декабря 2008 г. 20:05 пользователь Denis S. Kostin <admin@3436.ru> написал:
> Здравствуйте, ALT.
>
> Надо было сегодня в Apache добавить поддержку php
>
> [root@proxy conf]# apt-get install apache2-mod_php5
> Чтение списков пакетов... Завершено
> Построение дерева зависимостей... Завершено
> Следующие НОВЫЕ пакеты будут установлены:
>  apache2-mod_php5
> 0 будет обновлено, 1 новых установлено, 0 пакетов будет удалено и 0 не будет обновлено.
> Необходимо получить 0B/70,7kB архивов.
> После распаковки потребуется дополнительно 410kB дискового пространства.
> Совершаем изменения...
> Preparing...                                      ################################################################################################### [100%]
> 1: apache2-mod_php5                               ################################################################################################### [100%]
> Reloading httpd2 service: [ DONE ]
> Reloading httpd2 service: Service httpd2 is not running.[PASSED]
> Running /usr/lib/rpm/posttrans-filetriggers
> Завершено.
>
> как то сразу насторожило::  Reloading httpd2 service: Service httpd2
> is not running.[PASSED]
>
> при попытке перезапустить апач
> [root@proxy conf]# /etc/init.d/httpd2 restart
> Service httpd2 is not running.                           [PASSED]
> Checking configuration sanity for httpd2:  [Thu Dec 11 19:57:43 2008] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP.
> Pre-configuration failed
>
>
> как с ентим боротся?
>
надо поставить apache2-http-prefork
-- 
С уважением, Борис Савельев

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] проблемы с apache2-mod_php5
  2008-12-11 19:27 ` Boris Savelev
@ 2008-12-11 19:43   ` Denis S. Kostin
  2009-01-14 10:21     ` Aleksey Avdeev
  0 siblings, 1 reply; 4+ messages in thread
From: Denis S. Kostin @ 2008-12-11 19:43 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Здравствуйте, Boris.



>> как с ентим боротся?

> надо поставить apache2-http-prefork
Спасибо помогло...
если можно еще один вопрос...
почему так?

то есть перед установкой надо было погуглить на момент глюков?
или это всетаки недостаток мосга?


-- 
С уважением,
 Denis                          mailto:admin@3436.ru




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] проблемы с apache2-mod_php5
  2008-12-11 19:43   ` Denis S. Kostin
@ 2009-01-14 10:21     ` Aleksey Avdeev
  0 siblings, 0 replies; 4+ messages in thread
From: Aleksey Avdeev @ 2009-01-14 10:21 UTC (permalink / raw)
  To: ALT Linux Community general discussions

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

Denis S. Kostin пишет:
> Здравствуйте, Boris.
> 
> 
> 
>>> как с ентим боротся?
> 
>> надо поставить apache2-http-prefork
> Спасибо помогло...
> если можно еще один вопрос...
> почему так?

   У него более высокий приоритет, с точки зрения apt (см. 
<https://bugzilla.altlinux.org/show_bug.cgi?id=11643>).

> 
> то есть перед установкой надо было погуглить на момент глюков?
> или это всетаки недостаток мосга?
> 

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 552 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-14 10:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-11 17:05 [Comm] проблемы с apache2-mod_php5 Denis S. Kostin
2008-12-11 19:27 ` Boris Savelev
2008-12-11 19:43   ` Denis S. Kostin
2009-01-14 10:21     ` Aleksey Avdeev

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git