Re: [PEAR] pear failing to install include files properly

[email protected] (Andrew Pennebaker)
Newsgroups php.pear.general
Message-ID <CAHXt_SUH=9ueRZs0jdN7T=3BWVBjkgGoArGUfU+t5rEAhZdHqQ@mail.gmail.com>
You are correct. Looks like Mac OS X Mavericks' builtin PHP is
misconfigured.

$ pear config-get php_dir
/Users/andrew/pear/share/pear

$ php --ini
*Configuration File (php.ini) Path: /etc*
Loaded Configuration File:         (none)
Scan for additional .ini files in: /Library/Server/Web/Config/php
Additional .ini files parsed:      (none)

$ php -c /etc/php.ini.default -r 'echo get_include_path()."\n";'
.:


On Sun, Nov 10, 2013 at 2:37 AM, Christian Weiske <[email protected]>wrote:

> Hello Andrew,
>
>
> > Warning: require_once(PHP/PMD/TextUI/Command.php): failed to open
> > stream: No such file or directory in /Users/andrew/pear/bin/phpmd on
> > line 45
> >
> > Fatal error: require_once(): Failed opening required
> > 'PHP/PMD/TextUI/Command.php' (include_path='.:') in
> > /Users/andrew/pear/bin/phpmd on line 45
>
> Your include path is not setup correctly.
>
> Please see http://pear.php.net/manual/en/installation.checking.php
> section "Verifying the include path".
>
> --
> Regards/Mit freundlichen Grüßen
> Christian Weiske
>
> -=≡ Geeking around in the name of science since 1982 ≡=-
>



-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.