Remove unecessary php settings in index.php. Move them to
application.ini