ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Ivan Adzhubey <iadzhubey@rics.bwh.harvard.edu>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] ...опять php, на этот раз с новым phpMyAdmin
Date: Mon, 03 Jul 2006 23:19:46 -0400
Message-ID: <200607032319.46388.iadzhubey@rics.bwh.harvard.edu> (raw)

Приветствую!

Не работает phpMyAdmin после обновления:

phpMyAdmin - Error

Cannot load mysql extension. Please check your PHP configuration. - 
Documentation

Разборки с PHP пока привели к идее, что новый phpMyAdmin загружает расширение 
mysql.so динамически, использую функцию dl(), которая запрещене в режиме Safe 
Mode, который по умолчанию включен. Вот что на той же конфигурации говорит 
тестовый скрипт, просто пытающийся выполнить dl('mysql.so'):

Warning: dl() [function.dl]: Dynamically loaded extensions aren't allowed when 
running in Safe Mode in /var/www/html/index.php on line 3

И это никаким путем не объезжается: убирание функции dl() из списка 
disable_functions не помогает, и даже -- внимание! установка safe_mode = off 
в /etc/php/4.4.3/mod_php/php.ini ровным счетом ничего не дает -- mod_php 
по-прежнему утверждает, что работает в safe mode (httpd естественно 
перегружал).

Третий раз прошу, нет -- умоляю: господа мейнтейнеры, проверяйте пожалуйста 
пакеты перед выкладыванием в Сизиф НА РАБОТОСПОСОБНОСТЬ в текущем 
репозитарии, по крайней мере в стандартной конфигурации. Я лично не 
представляю себе, как может работать phpMyAdmin без PHP и mysql.so, но видимо 
мейнтейнеру пакета приснилось, что работает.

-- 
Иван


             reply	other threads:[~2006-07-04  3:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-04  3:19 Ivan Adzhubey [this message]
2006-07-04  3:51 ` Ivan Adzhubey
2006-07-04 12:38   ` Igor Zubkov
2006-07-04  3:55 ` Alexey Sidorov

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=200607032319.46388.iadzhubey@rics.bwh.harvard.edu \
    --to=iadzhubey@rics.bwh.harvard.edu \
    --cc=sisyphus@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 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