Under the Windows platform, the following error is reported when using Firefox to generate the ThinkPHP3.1.2 version of the website file:
The page you are trying to view cannot be displayed because it uses an invalid or unsupported compression format.
Please contact the owner of the site to notify you of this issue.
This is the result of Ob_start (' Ob_gzhandler ') in the framework directory thinkphp/lib/core/app.class.php, which is caused by the following reasons:
The server does not support this compression format, can use Function_exists (' Ob_gzhandler ') to determine, the solution Ob_start (' Ob_gzhandler ') changed to Ob_start ();
49th Line Ob_start (' Ob_gzhandler ') changed to Ob_start ();
No. 271 Line Ob_start (' Ob_gzhandler ') changed to Ob_start ();
The Windows platform does not support file compression in gzip format, so an error can be corrected to an empty parameter.
The above describes the Windows ThinkPHP312 website compression format error problem resolution, including the aspects of the content, I hope that the PHP tutorial interested friends helpful.