Skip to content

PHP: syntax error, unexpected end of file, expecting '}' in /usr/local/etc/php/conf.d/civicrm.ini on line 6 #51

@ufundo

Description

@ufundo

I'm seeing the above error when running php commands in the image.

root@e1d62380fc86:/var/www/html# cat /usr/local/etc/php/conf.d/civicrm.ini 
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
max_input_time = -1
max_input_vars = 10000
date.timezone = ${PHP_DATE_TIMEZONE:-"UTC"}
log_errors = On
error_log = /dev/stderr

Should that PHP_DATE_TIMEZONE have been replaced somehow, maybe by an entrypoint script?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions