Closed drboone closed 9 months ago
Sample of syntax errors from syslog -
evita|jKbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/apcu.ini on line 2
evita|jabxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/curl.ini on line 2
evita|jqbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/gd.ini on line 2
evita|j6bxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/gmp.ini on line 2
evita|kKbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/iconv.ini on line 2
evita|kabxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/intl.ini on line 2
evita|kqbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/json.ini on line 2
evita|k6bxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/mbstring.ini on line 2
evita|lKbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/mcrypt.ini on line 2
evita|labxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/memcached.ini on line 2
evita|lqbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/mysqli.ini on line 2
evita|l6bxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/pdo.ini on line 2
evita|mKbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/recode.ini on line 2
evita|mabxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/xsl.ini on line 2
evita|mqbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/yaz.ini on line 2
evita|m6bxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/zip.ini on line 2
evita|nKbxi4sBvMEx7TwqCE-2|2023-11-01T17:31:51.000Z|287750|apache|PHP: syntax error, unexpected '=' in /opt/local/etc/php.d/zlib.ini on line 2
Just noticed that this issue is in php 8.1 too.
This was fixed with the above commit and all packages were rebuilt.
All of the module ini files for php 5.6 in /opt/local/etc/php.d have invalid syntax. This provokes some syslog errors for the syntax, plus of course the modules don't load.
Trivial inspection of one or two suggests these actually come in the module package, but all of the ones I have installed on this machine are the same style.