I noticed then when using cargo-php remove the INI file contents are completely truncated.
Additionally when using cargo-php install the file contents are duplicated leading to the extension= lines doubling up and PHP throwing an error due to trying to load libv8js.soextension or similar.