note 113360 added to function.flush

From: Date: Tue, 01 Oct 2013 11:26:21 +0000
Subject: note 113360 added to function.flush
Groups: php.notes 
Request: Send a blank email to php-notes+get-196436@lists.php.net to get a copy of this message
For a Windows system using IIS, the ResponseBufferLimit takes precedence over PHP's output_buffering settings. So you must also set the ResponseBufferLimit to be something lower than its default value. For IIS versions older than 7, the setting can be found in the %windir%\System32\inetsrv\fcgiext.ini file (the FastCGI config file). You can set the appropriate line to: ResponseBufferLimit=0 For IIS 7+, the settings are stored in %windir%\System32\inetsrv\config. Edit the applicationHost.config file and search for PHP_via_FastCGI (assuming that you have installed PHP as a FastCGI module, as per the installation instructions, with the name PHP_via_FastCGI). Within the add tag, place the following setting at the end: responseBufferLimit="0" So the entire line will look something like: <add name="PHP_via_FastCGI" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\PHP\php-cgi.exe" resourceType="Either" responseBufferLimit="0" /> Alternatively you can insert the setting using the following command: %windir%\system32\inetsrv\appcmd.exe set config /section:handlers "/[name='PHP_via_FastCGI'].ResponseBufferLimit:0" ---- Server IP: 87.124.126.49 Probable Submitter: 62.172.72.131 ---- Manual Page -- http://php.net/manual/en/function.flush.php Edit -- https://master.php.net/note/edit/113360 Del: integrated -- https://master.php.net/note/delete/113360/integrated Del: useless -- https://master.php.net/note/delete/113360/useless Del: bad code -- https://master.php.net/note/delete/113360/bad+code Del: spam -- https://master.php.net/note/delete/113360/spam Del: non-english -- https://master.php.net/note/delete/113360/non-english Del: in docs -- https://master.php.net/note/delete/113360/in+docs Del: other reasons-- https://master.php.net/note/delete/113360 Reject -- https://master.php.net/note/reject/113360 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#196436) next »