[php mode] Add json, curl, mysqli extensions