What is the fastest way to store config data in PHP so that it is easily changeable (via PHP)? First I thought about having config.php file, but I can\'t edit it on fly with
You should use serialize as opposed to json_encode:
http://docs.php.net/serialize