Re: Pear Problems
| From: | Ethan Rosenberg | Date: | Fri, 28 Jan 2011 05:33:03 +0000 |
| Subject: | Re: Pear Problems | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311063@lists.php.net to get a copy of this message | ||
At 01:54 AM 1/27/2011, Adam Richardson wrote:
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: =========================================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)]Package Version State Archive_Tar 1.3.7 stableConsole_Getopt 1.2.3 stablePEAR 1.9.1 stableStructures_Graph 1.0.3 stableValidate_US 0.5.4 beta XML_Util 1.2.1 stableethan@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