* Re: [devel] Помогите осилить PHP Pear
@ 2008-06-11 10:11 ` Max Ivanov
0 siblings, 0 replies; only message in thread
From: Max Ivanov @ 2008-06-11 10:11 UTC (permalink / raw)
To: ALT Linux Team development discussions
> Если в хашере поставить любые pear-* пакеты, то чрутнувшись туда можно
> получить их список по команде "pear list". Если же попытаться получить его
> внутри своего скрипта - выходит кукишь. Пытаюсь получить так:
> ===========
> <?php
> require_once('PEAR/Registry.php');
> $reg = new PEAR_Registry;
> $packages = $reg->listPackages();
> print_r($packages);
> ?>
> ==============
>
> В какую сторону крутить, чтоб починилось?
>
Ларчик открылся просто. Запросы к базе PEAR не работают при
умолчательном safe_mode=1.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-11 10:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-11 10:11 ` [devel] Помогите осилить PHP Pear Max Ivanov
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