ubuntu 12.04 を搭載した VM があり、Web サーバーとして apache2 を実行しています。PHP 5.3.10 をインストールしましたが、php アプリケーションを実行するたびに、php.ini で次のエラーがスローされます。
PHP: syntax error, unexpected BOOL_FALSE in /etc/php5/cli/php.ini on line 1020
php.ini で何かが正しくコメントアウトされていないと思いますが、それを見ると、何が問題なのかわかりません。
1007 [Pcre]
1008 ;PCRE library backtracking limit.
1009 ; http://php.net/pcre.backtrack-limit
1010 ;pcre.backtrack_limit=100000
1011
1012 ;PCRE library recursion limit.
1013 ;Please note that if you set this value to a high number you may consume all
1014 ;the available process stack and eventually crash PHP (due to reaching the
1015 ;stack size limit imposed by the Operating System).
1016 ; http://php.net/pcre.recursion-limit
1017 ;pcre.recursion_limit=100000
1018
1019 [Pdo]
1020 ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
1021 ; http://php.net/pdo-odbc.connection-pooling
1022 ;pdo_odbc.connection_pooling=strict
1023
1024 ;pdo_odbc.db2_instance_name
1025
1026 [Pdo_mysql]
1027 ; If mysqlnd is used: Number of cache slots for the internal result set cache
1028 ; http://php.net/pdo_mysql.cache_size
1029 pdo_mysql.cache_size = 2000
1030
1031 ; Default socket name for local MySQL connects. If empty, uses the built-in
1032 ; MySQL defaults.
1033 ; http://php.net/pdo_mysql.default-socket
1034 pdo_mysql.default_socket=
これについて何か変に見えますか?
アプリケーションはすべて実行されますが、このエラーが表示され、何が原因なのかわからないことにうんざりしています。