Php: Enabling the GD Library (in windows)
- If (extension_loaded ('gd ')){
- Echo 'gd can be used
';
- Foreach (gd_info () as $ cate => $ value)
- Echo "$ cate: $ value
";
- } Else
- Echo 'The gd extension' is not installed ';
- ?>
-
The result is displayed as follows: GdGD Version: bundled (2.0.34 compatible) FreeType Support: 1 FreeType Linkage: with freetypeT1Lib Support: 1GIF Read Support: 1GIF Create Support: 1JPG Support: 1PNG Support: 1 WBMP Support: 1XPM Support: XBM Support: 1JIS-mapped Japanese Font Support:If any problem occurs, the Configure Command is displayed as follows: 1 cscript/nologo configure. js "-- enable-snapshot-build" "-- disable-isapi" "-- enable-debug-pack" "-- without-mssql" "-- without-pdo-mssql" -- without-pi3web "" -- with-pdo-oci = C: php-sdkoracleinstantclient10sdk, shared "" -- with-oci8 = C: php-sdkoracleinstantclient10sdk, shared "" -- with-oci8-11g = C: php-sdkoracleinstantclient11sdk, shared "" -- enable-object-out-dir = .. /obj/"" -- enable-com-dotnet = shared "" -- with-mcrypt = static "" -- disable-static-analyze "" -- with-pgo"Possible causes: 1. permission issues; 2. dual-channel problems, or hardware looseness. >>> Articles you may be interested in: php GD Library Upload image and create thumbnail code php GD Library generate verification code instance php GD library Chinese garbled solution php verification code (GD Library generate verification code) example: How to enable gd2 extension in php introduction how to install php GD support Library in linux php GD library example code for drawing a 24-hour bar chart php gd Library dynamic generation of line chart instance code php thumbnail generate class (supports imagemagick and gd libraries) |