Re: [PHP] Pear Problems
On Fri, Jan 28, 2011 at 00:33, Ethan Rosenberg wrote: > > 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? Keep in mind that php.ini is not universal, and changes drastically with version, distribution, CLI vs. web, customization, and more. The answer that Adam gave you is absolutely correct with regard to the information you provided. You need to put a semicolon before the line you quoted as being line 510 in your php.ini. The directive you want is error_reporting, and should look like so: error_reporting = E_ALL & ~E_NOTICE -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Pear Problems
At 01:54 AM 1/27/2011, Adam Richardson wrote: On Thu, Jan 27, 2011 at 1:01 AM, Ethan Rosenberg 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
Re: [PHP] Pear Problems
On Thu, Jan 27, 2011 at 1:01 AM, Ethan Rosenberg 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
[PHP] Pear Problems
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 Advice and help please. Thanks. 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
Re: [PHP] PEAR problems
Thanks! You might want to jump on the horde mailing list seeing that it is an issue with horde and not fully with PEAR. Horde uses PEAR for error and logging capabilities. And there are some really good people on the horde list. -- Ray On Thu, 2003-03-06 at 05:41, José Manuel Valente wrote: > Hi, > > I´ve compiled php-4.2.3 in my Red Hat 8 box and everything is fine. But > When I took a look at horde´s test page, It tells me PEAR is OK, Recent PEAR > is OK, mail is OK, BD is OK but Log is not OK. > And I need that log feature for my webmail (horde + imp). what can I do > to fix this? What´s wrong? > > Thanks, > José Manuel Valente > > [EMAIL PROTECTED] > Key ID = 0x4EB0F0BB > > +55 18 33228400 > SRI Tecnologia de Informação > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PEAR problems
You might want to jump on the horde mailing list seeing that it is an issue with horde and not fully with PEAR. Horde uses PEAR for error and logging capabilities. And there are some really good people on the horde list. -- Ray On Thu, 2003-03-06 at 05:41, José Manuel Valente wrote: > Hi, > > I´ve compiled php-4.2.3 in my Red Hat 8 box and everything is fine. But > When I took a look at horde´s test page, It tells me PEAR is OK, Recent PEAR > is OK, mail is OK, BD is OK but Log is not OK. > And I need that log feature for my webmail (horde + imp). what can I do > to fix this? What´s wrong? > > Thanks, > José Manuel Valente > > [EMAIL PROTECTED] > Key ID = 0x4EB0F0BB > > +55 18 33228400 > SRI Tecnologia de Informação > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PEAR problems
Hi, I´ve compiled php-4.2.3 in my Red Hat 8 box and everything is fine. But When I took a look at horde´s test page, It tells me PEAR is OK, Recent PEAR is OK, mail is OK, BD is OK but Log is not OK. And I need that log feature for my webmail (horde + imp). what can I do to fix this? What´s wrong? Thanks, José Manuel Valente [EMAIL PROTECTED] Key ID = 0x4EB0F0BB +55 18 33228400 SRI Tecnologia de Informação -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php