ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] ...опять php, на этот раз с новым phpMyAdmin
@ 2006-07-04  3:19 Ivan Adzhubey
  2006-07-04  3:51 ` Ivan Adzhubey
  2006-07-04  3:55 ` Alexey Sidorov
  0 siblings, 2 replies; 4+ messages in thread
From: Ivan Adzhubey @ 2006-07-04  3:19 UTC (permalink / raw)
  To: sisyphus

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

Не работает 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, но видимо 
мейнтейнеру пакета приснилось, что работает.

-- 
Иван


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

end of thread, other threads:[~2006-07-04 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-04  3:19 [sisyphus] ...опять php, на этот раз с новым phpMyAdmin Ivan Adzhubey
2006-07-04  3:51 ` Ivan Adzhubey
2006-07-04 12:38   ` Igor Zubkov
2006-07-04  3:55 ` Alexey Sidorov

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