At 01:54 AM 1/27/2011, Adam Richardson wrote:
On Thu, Jan 27, 2011 at 1:01 AM, Ethan Rosenberg <ethros@xxxxxxxxxxxxx>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
Adam -
Thanks.
Please take a look at php.ini in the vicinity of line 510. You will
see the construct to which I refer. Can you explain what is going
on? I do not think it is a problem with commenting out a line.
Any ideas from the rest of the list?
Ethan
MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php