Никто не упомянул выравнивание нагрузки... haproxy, и т.д. Оптимизирует, кэшируется и загружается, баланс должен пережить почти что-либо. Однако я не уверен, находится ли stackoverflow позади подсистемы балансировки нагрузки;)
You could wrap the whole ini inside heredoc as follows
<?php
echo <<< EOF
<?php echo "stuff inside php tag"; ?>
EOF;
?>
Which when output doesn't render in the page but appears on the page source
or you can use html encoding for the tags
<?php echo 'this'; ?>
I think the later will suit you better.
If that doesn't do the job you could use ASCII encoding which I don't know much about
A quick & simple solution would to search through the php.ini and replace all within comments with unique markers, after the file has been parsed, simply replace those unique markers back with the corresponding php tag.