CodeIgniter Project Giving 303/Compression Error

后端 未结 2 1769

Trying to setup a CodeIgniter based project for local development (LAMP stack), and once all the config file were updated (meaning I successfully had meaningful bootstrap errors

2条回答
  •  逝去的感伤
    2021-02-09 09:45

    CodeIgniter seems to have its own method of gzipping its output (Why, I don't know, but I'm not very familiar with CI.)

    According to this forum entry, such an error can occur when PHP error messages screw up the compressed content. Adjusting error_reporting to E_ALL ^ E_NOTICE did the trick there.

    Update: There also seems to be a CI config setting:

    $config['compress_output'] = FALSE;
    

提交回复
热议问题