* [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
* Re: [sisyphus] ...опять php, на этот раз с новым phpMyAdmin
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
1 sibling, 1 reply; 4+ messages in thread
From: Ivan Adzhubey @ 2006-07-04 3:51 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
On Monday 03 July 2006 23:19, Ivan Adzhubey wrote:
> Третий раз прошу, нет -- умоляю: господа мейнтейнеры, проверяйте пожалуйста
> пакеты перед выкладыванием в Сизиф НА РАБОТОСПОСОБНОСТЬ в текущем
> репозитарии, по крайней мере в стандартной конфигурации. Я лично не
> представляю себе, как может работать phpMyAdmin без PHP и mysql.so, но
> видимо мейнтейнеру пакета приснилось, что работает.
Приношу свои глубочайшие извинения за необоснованный наезд. Сам виноват
оказался -- в локальных настройках апача затерялась директива php_admin_flag
safe_mode off для одной-единственной директории (что-то тестировал, даже и не
вспомню что), причем как оказалось -- она _включала_ safe mode для всего
остального в document root, перекрывая прописаную в php.ini. После удаления
все заработало. Правда не очень нравится, что phpMyAdmin теперь пользуется
dl(), раньше вроде такого не было...
--
Иван
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] ...опять php, на этот раз с новым phpMyAdmin
2006-07-04 3:51 ` Ivan Adzhubey
@ 2006-07-04 12:38 ` Igor Zubkov
0 siblings, 0 replies; 4+ messages in thread
From: Igor Zubkov @ 2006-07-04 12:38 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]
В сообщении от 4 июля 2006 06:51 Ivan Adzhubey написал(a):
> On Monday 03 July 2006 23:19, Ivan Adzhubey wrote:
> > Третий раз прошу, нет -- умоляю: господа мейнтейнеры, проверяйте
> > пожалуйста пакеты перед выкладыванием в Сизиф НА РАБОТОСПОСОБНОСТЬ в
> > текущем репозитарии, по крайней мере в стандартной конфигурации. Я лично
> > не представляю себе, как может работать phpMyAdmin без PHP и mysql.so, но
> > видимо мейнтейнеру пакета приснилось, что работает.
>
> Приношу свои глубочайшие извинения за необоснованный наезд. Сам виноват
Попрошу не выражатся. Я всегда делаю и читаю диффы от одной версии phpMyAdmin
до другой. В последнем phpMyAdmin который я закинул в Сизиф поправлен один
XSS, на работу это не могло повлиять никак.
Хотя, в текущий момент я не знаю как работает phpMyAdmin на php из Сизифе т.к.
я php ещё не обновлял на своей машине.
> оказался -- в локальных настройках апача затерялась директива
> php_admin_flag safe_mode off для одной-единственной директории (что-то
> тестировал, даже и не вспомню что), причем как оказалось -- она _включала_
> safe mode для всего остального в document root, перекрывая прописаную в
> php.ini. После удаления все заработало. Правда не очень нравится, что
> phpMyAdmin теперь пользуется dl(), раньше вроде такого не было...
--
Placebo - The Bitter End
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] ...опять php, на этот раз с новым phpMyAdmin
2006-07-04 3:19 [sisyphus] ...опять php, на этот раз с новым phpMyAdmin Ivan Adzhubey
2006-07-04 3:51 ` Ivan Adzhubey
@ 2006-07-04 3:55 ` Alexey Sidorov
1 sibling, 0 replies; 4+ messages in thread
From: Alexey Sidorov @ 2006-07-04 3:55 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Ivan Adzhubey пишет:
> И это никаким путем не объезжается: убирание функции dl() из списка
> disable_functions не помогает, и даже -- внимание! установка safe_mode = off
> в /etc/php/4.4.3/mod_php/php.ini ровным счетом ничего не дает -- mod_php
> по-прежнему утверждает, что работает в safe mode (httpd естественно
> перегружал).
Я сталкивался с похожим на пхп5
оказалось там в конце php.ini (или как там конфиг называется) ещё
прописаны установки для какого-то патча и там тоже были выключены
какие-то функции.
^ 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