The reason why no image is displayed in the php plot and the solution is solved. For php plotting, first check whether the gd Library is enabled. in the php. ini file, find extensionphp_gd2.dll and remove the previous one. then restart the server. If the graph is still not displayed as a normal php drawing, first check whether the gd Library is enabled. in the php. ini file, find extension = php_gd2.dll and remove it. then restart the server.
If a normal image is still not displayed in the drawing, it indicates that the image information is incorrect when the server replies the request. do not Do not include html.
In addition, if no image is available, clear the cache before the drawing (that is, before writing the header), first write ob_clean (); then you can display it (including when writing a file for download, when the file cannot be opened after Download, clear the cache ).
Bytes. If it still does not show normal in the drawing...