GD Library in PHP default is not open, if you want it to support the image processing function we need to php.ini in the Extension=php_gd2.dll to remove the front;
When the Windows Server opens the PHP GD library, the results of phpinfo () after using CGI do not appear gd in the Configure Command.
Locate the php.ini file Extension=php_gd2.dll remove the front;
Also attach how to check if the GD library code has been installed!
The code is as follows |
Copy Code |
if (extension_loaded (' GD ')) { Echo ' You can use GD '; foreach (Gd_info () as $cate = = $value) echo "$cate: $value "; }else Echo ' You did not install GD extension '; ?> |
The results are shown as: You can use GD
GD version:bundled (2.0.34 compatible)
FreeType support:1
FreeType Linkage:with FreeType
T1lib support:1
GIF Read support:1
GIF Create support:1
JPG support:1
PNG support:1
WBMP support:1
XPM Support:
XBM support:1
jis-mapped Japanese Font Support:
If there is a problem,
Configure Command After the display is:
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. Permissions issues;
2. Whether there is a problem with the dual channel, or whether the hardware is loose
http://www.bkjia.com/PHPjc/629834.html www.bkjia.com true http://www.bkjia.com/PHPjc/629834.html techarticle GD Library in PHP default is not open, if you want it to support the image processing function we need to php.ini in the Extension=php_gd2.dll to remove the front; In Windows services ...