syntax error, unexpected '&' in /etc/php/php.ini on line 107

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,

I have a peculiar problem. My http error log is flooded with these two
lines over and over again:

PHP:  syntax error, unexpected '&' in /etc/php/php.ini on line 107
PHP:  syntax error, unexpected '&' in /etc/php/php.ini on line 108

My /etc/php/php.ini's lines 104 through 109 are:

104   ; error_reporting
105   ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
106   ;   Development Value: E_ALL
107   ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
108
109   ; html_errors

Everything above these lines is commented, except for the first line,
that reads:

[PHP]

So the &s on line 107 are to be expected, and line 108 is empty. Does
anyone have any idea what's going on here? Is this a bug?

Thanks!

$ uname -a
Linux bender 3.3.6-1-ARCH #1 SMP PREEMPT Sun May 13 09:59:18 UTC 2012
i686 GNU/Linux

$ php --version
PHP 5.4.3 (cli) (built: May  8 2012 17:09:39)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux