ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: ABATAPA <sisyphus@Murmansk.Net>
To: sisyphus@altlinux.ru
Subject: [sisyphus] mod_php & disable_functions & .htaccess
Date: Thu, 26 May 2005 18:46:11 +0400
Message-ID: <200505261846.12332.sisyphus@Murmansk.Net> (raw)

Собрал cacti без php-snmp. Установил.
При работе - ошибки из-за включенной для php.ini опции
disable_functions = "chdir,dl,exec,ini_get_all,phpinfo,shell_exec,system"

Как ее отключить для директории?
Пытаюсь поместить в .htaccess
	php_flag safe_mode off
	php_value disable_functions  "chmod"
Читается (если оставить пустые кавычки, apache ругается), но exec запрещен:
Warning: exec() has been disabled for security reasons 
in /var/www/html/cacti/lib/snmp.php on line 76

Если строчку закомментировать в /etc/php/4.3.12/mod_php/php.ini, то все 
работает. 


Вопрос: как убрать эту опцию для ОТДЕЛЬНОЙ директории?

-- 
ABATAPA


             reply	other threads:[~2005-05-26 14:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26 14:46 ABATAPA [this message]
2005-05-27  9:53 ` ABATAPA
2005-05-27 10:23   ` Epiphanov Sergei
2005-05-27 10:14 ` Epiphanov Sergei
2005-05-27 11:53   ` ABATAPA
2005-05-27 10:17 ` Epiphanov Sergei
2005-05-27 10:18 ` Epiphanov Sergei
2005-05-27 11:45   ` ABATAPA
2005-05-27 12:27     ` Epiphanov Sergei
2005-05-27 13:04       ` ABATAPA
2005-05-27 13:18         ` Epiphanov Sergei
2005-05-27 13:44           ` ABATAPA
2005-05-27 14:17             ` Epiphanov Sergei
2005-05-27 13:23         ` Epiphanov Sergei
2005-05-27 13:46           ` ABATAPA
2005-05-27 13:25         ` Epiphanov Sergei
2005-05-27 13:27         ` Epiphanov Sergei
2005-05-31 10:25       ` Artem K. Jouravsky

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=200505261846.12332.sisyphus@Murmansk.Net \
    --to=sisyphus@murmansk.net \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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