Windows newline characters inserted into /var/www/conf/webX/php.ini
If custom php.ini directives are copy-pasted into the "Custom php.ini settings" interface field on a Windows machine, Windows newline characters appear in the auto-generated php.ini file at /var/www/conf/webX/php.ini. The contents of the aforementioned file become, for example:
----------[...]---------- [dba] ;dba.default_handler=
; Local Variables: ; tab-width: 4 ; End:
display_startup_errors = Off^M ^M short_open_tag = Off ----------EOF----------
I copied the directives from another site, within the ISPConfig interface, using Firefox on Windows. It seems that these newline characters were introduced while copying from the field within the interface.