From: "Vladimir A. Svyatoshenko" <svyt22@gmail.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] Q: PHP: Как правильно включить заблокированные функции.
Date: Mon, 7 Jul 2008 00:14:46 +0300
Message-ID: <20080707001446.2247d468@svyt.home.net> (raw)
In-Reply-To: <48712CBE.4010607@solin.spb.ru>
On Mon, 07 Jul 2008 00:36:14 +0400
Aleksey Avdeev wrote:
> Приветствую.
>
> Как правильно включать заблокированные в конфиге PHP функции при
> установке пакета? (В идеале -- только для данного приложения.)
>
Не знаю насколько правильно, но я сделал для moodle так - в moodle.conf
для apache(2) вставил
<IfModule mod_php5.c>
# php settings
php5_value memory_limit 40M
php5_admin_flag magic_quotes_gpc 1
php5_admin_flag magic_quotes_runtime 0
php5_admin_flag file_uploads 1
php5_admin_flag session.auto_start 0
php5_admin_flag session.bug_compat_warn 0
# optionally
LimitRequestBody 0
php5_value upload_max_filesize 2M
php5_value post_max_size 2M
<IfModule>
prev parent reply other threads:[~2008-07-06 21:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-06 20:36 Aleksey Avdeev
2008-07-06 20:57 ` Alexey Gladkov
2008-07-06 21:20 ` Michael Shigorin
2008-07-06 21:25 ` Alexey Gladkov
2008-07-06 23:11 ` Michael Shigorin
2008-07-06 23:03 ` Alexey Gladkov
2008-07-06 21:43 ` Alexey Gladkov
2008-07-06 21:51 ` Konstantin A. Lepikhov
2008-07-06 23:13 ` Michael Shigorin
2008-07-06 21:14 ` Vladimir A. Svyatoshenko [this message]
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=20080707001446.2247d468@svyt.home.net \
--to=svyt22@gmail.com \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git