CodeIgniter\Exceptions\FrameworkException |
Hi All.
Plz Help Me for Fixed Error: Your zlib.output_compression ini directive is turned on. This will not work well with output buffers. APPPATH/Config/Events.php at line 28 21 * Example: 22 * Events::on('create', [$myInstance, 'myMethod']); 23 */ 24 25 Events::on('pre_system', static function () { 26 if (ENVIRONMENT !== 'testing') { 27 if (ini_get('zlib.output_compression')) { 28 throw FrameworkException::forEnabledZlibOutputCompression(); 29 } 30 31 while (ob_get_level() > 0) { 32 ob_end_flush(); 33 } 34 35 ob_start(static fn($buffer) => $buffer);
08-20-2023, 12:58 PM
(This post was last modified: 08-20-2023, 01:03 PM by captain-sensible. Edit Reason: As Jimmy cricket once said wait there's mooore )
well in my /etc/php/php.ini there are these lines :
Code: zlib.output_compression = Off //therefore compression is off Code: zlib.output_compression on the face of it , it seems yours has been enabled . Also are you talking about CI4 local host ? if so find your php.ini and stick a ";" at beginning of line to disable if its xampp then , that has its own ini i believe |
Welcome Guest, Not a member yet? Register Sign In |