Re: Pear Problems
| From: | Adam Richardson | Date: | Thu, 27 Jan 2011 06:54:42 +0000 |
| Subject: | Re: Pear Problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311059@lists.php.net to get a copy of this message | ||
On Thu, Jan 27, 2011 at 1:01 AM, Ethan Rosenberg <ethros@earthlink.net>wrote:
> Dear List -
>
> I am executing the command pear list.
>
> This is what I get -
>
> ethan@rosenberg:/usr/bin$ pear list
> PHP: syntax error, unexpected '&' in /etc/php5/cli/php.ini on line 510
> Installed packages, channel pear.php.net:
> =========================================
> Package Version State
> Archive_Tar 1.3.7 stable
> Console_Getopt 1.2.3 stable
> PEAR 1.9.1 stable
> Structures_Graph 1.0.3 stable
> Validate_US 0.5.4 beta
> XML_Util 1.2.1 stable
> ethan@rosenberg:/usr/bin$
>
> This is line 510
>
> Default Value: E_ALL & ~E_NOTICE
That line should likely be commented out (it was probably originally
commented out and then somebody accidentally uncommented.) Most php.ini
files follow the convention (notice that there's no colon in the example):
some_name = some_value
Happy coding,
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com