Read and Update Config file (INI File) in PHP

To parse / read INI file in PHP is very simple, there is a default function called parse_ini_file() which will read and return all the values as an array. 

To update or edit the INI file through PHP is little …