I'm getting many of these errors in my apache logging file:
PHP: syntax error, unexpected '(' in /etc/php5/apache2/php.ini on line 3
But these are the first 15 lines of /etc/php5/apache2/php.ini
:
[PHP] ;;;;;;;;;;;;;;;;;;; ; About php.ini ; ;;;;;;;;;;;;;;;;;;; ; PHP's initialization file, generally called php.ini, is responsible for ; configuring many of the aspects of PHP's behavior. ; PHP attempts to find and load this configuration from a number of locations. ; The following is a summary of its search order: ; 1. SAPI module specific location. ; 2. The PHPRC environment variable. (As of PHP 5.2.0) ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0) ; 4. Current working directory (except CLI) ; 5. The web server's directory (for SAPI modules), or directory of PHP
The first uncommented lines of php.ini:
engine = On
short_open_tag = Off
asp_tags = Off
precision = 14
y2k_compliance = On
I thought it would be a caching problem, but I've just disabled my PHP caching (it was APC)
I can't find any (
s that aren't in comments in the entire file.
How else could PHP think that there is a (
in the file when there isn't?