ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ilis <ilis.krou@gmail.com>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] Apache2 и PHP5
Date: Tue, 9 Dec 2008 10:41:19 +0500
Message-ID: <91dc8dbf0812082141s33410759u30152968a8befe8a@mail.gmail.com> (raw)
In-Reply-To: <493D79BF.1030302@yandex.ru>

9 декабря 2008 г. 0:47 пользователь russian-linuxoid@yandex.ru
<russian-linuxoid@yandex.ru> написал:
> Slava Dubrovskiy пишет:
>> russian-linuxoid@yandex.ru пишет:
>>>> Это означает что данные функции находятся в blacklist как не безопасные.
>>>>
>>> Собственно говоря, что в blacklist я понял, только не понял blacklist
>>> чего и где это лежит.
>>>
>> В конфигах php.
>
>
> И где копать? В логах апача имею (я пару раз выполнил control
> apache2-mod_php5 public):
>
> [Mon Dec 08 07:16:43 2008] [notice] caught SIGTERM, shutting down
> [Mon Dec 08 20:45:38 2008] [notice] Apache/2.2.8 (Unix) PHP5/5.2.5 with
> Suhosin-Patch configured -- resuming normal operations
> [Mon Dec 08 21:48:12 2008] [notice] caught SIGTERM, shutting down
> [Mon Dec 08 21:48:13 2008] [notice] Apache/2.2.8 (Unix) PHP5/5.2.5 with
> Suhosin-Patch configured -- resuming normal operations
>
> Просто в конфигурации под оффтопиком apache 2.2.10 и php 5.2.6 все
> работает (как в принципе и в комбинациях apache 2.2.8 - 10 и php 5.2.5 -
> 5.2.6). И я пытаюсь разобраться в чем фича в Альте.

[root@altus ~]# rpm -qc apache-mod_php5-5.2.5-alt1
/etc/httpd/conf/addon-modules.d/apache-mod_php5.conf
/etc/php/5.2.5/apache-mod_php/browscap.ini
/etc/php/5.2.5/apache-mod_php/php.ini

[root@altus ~]# grep phpinfo /etc/php/5.2.5/apache-mod_php/php.ini
;disable_functions =
"chdir,dl,ini_get_all,phpinfo,system,shell_exec,popen,proc_open,exec,passthru,pcntl_exec"
;suhosin.executor.func.blacklist =
chdir,dl,ini_get_all,phpinfo,system,shell_exec,popen,proc_open,exec,passthru,pcntl_exec
suhosin.executor.eval.blacklist =
chdir,dl,ini_get_all,phpinfo,system,shell_exec,popen,proc_open,exec,passthru,pcntl_exec

У себя я убрал phpinfo только из disable_functions...

-- 
Кругликов Илья

  reply	other threads:[~2008-12-09  5:41 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 18:22 russian-linuxoid
2008-12-08 18:35 ` Denis S. Kostin
2008-12-08 18:39 ` Slava Dubrovskiy
2008-12-08 18:52   ` russian-linuxoid
2008-12-08 19:27     ` Slava Dubrovskiy
2008-12-08 19:47       ` russian-linuxoid
2008-12-09  5:41         ` Ilis [this message]
2008-12-09 17:49           ` russian-linuxoid
2008-12-10  6:15             ` Ilis
2008-12-13 20:22             ` [Comm] Apache " Michael Shigorin
2008-12-16 19:41               ` russian-linuxoid
2008-12-16 21:53                 ` Slava Dubrovskiy
2009-01-02 14:40                 ` Michael Shigorin
2008-12-16 20:00 ` [Comm] Apache2 " russian-linuxoid
2008-12-16 20:04   ` russian-linuxoid
2008-12-17 18:34   ` russian-linuxoid
2008-12-17 18:59     ` Denis Nazarov
2008-12-18 19:07       ` russian-linuxoid
2008-12-19  4:28         ` Denis Nazarov
2008-12-19 17:17           ` russian-linuxoid
2008-12-19  7:02         ` alisher
2008-12-19 17:13           ` russian-linuxoid
2008-12-20  9:49             ` Хихин Руслан
2008-12-20 16:21               ` russian-linuxoid
2008-12-20 19:29                 ` Хихин Руслан
2009-01-13 11:50 ` Konstantin
2009-01-13 14:58   ` Alexey I. Froloff
2009-01-13 17:19     ` Konstantin
2009-01-13 17:27       ` Alexey I. Froloff
2009-01-13 22:35         ` kipruss
2009-01-14  7:14           ` Konstantin
2009-01-14  9:49             ` Slava Dubrovskiy
2009-01-14 10:05               ` Konstantin Baev
2009-01-14 10:14             ` Aleksey Avdeev
2009-01-18 14:53             ` Vyatcheslav Perevalov
2009-01-21 11:33               ` Konstantin Baev
2009-01-21 17:14                 ` Vyatcheslav Perevalov
2009-01-21 21:57                   ` Konstantin Baev
2009-01-22 14:18                     ` Aleksey Avdeev
2009-01-14 10:17       ` Aleksey Avdeev

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=91dc8dbf0812082141s33410759u30152968a8befe8a@mail.gmail.com \
    --to=ilis.krou@gmail.com \
    --cc=community@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 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