PHP under GD installation Raiders

xiaoxiao2021-03-06  19

PHP under GD installation Raiders

This article is intended to introduce the installation of the image processing support under PHP. After installation, PHP supports the image of GIF, PNG, JPEG, WBMP, and the specific installation setting step of PHP Please refer to the corresponding tutorial. First, the installation under Windows: The image support for Windows is very simple, and the PHP downloaded in the site http://www.php4win.de/ contains all image support, where PHP_GD.DLL does not support GIF format, php_gd_gif. DLL supports all of the above formats, you need to support the above four formats, you only need to overwrite php_gd.dll with php_gd_gif.dll. After installation use; see the results below : Gd GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage with TTF library GIF Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled two, Unix The installation of UNIX under Linux is more troublesome. The following is the latest PHP 4.0.4PL1 as an example. GD-1.8.3 contains GIF support installation.

System environment: Solaris 7, GCC 2.9.2, Make 3.78.1, Bison 1.2.8 JPEG-6B installation: File Name: JPEG-6B-SOL7-SPARC-local.gz version: 6b Download Site: http: // Www.sunfreeWare.com/ Download Location: ftp://ftp.sunfreeWare.com/pub/freeWare/sparc/7/jpeg-6b-sol7-sparc-local.gz installation method: / usr / local / bin / gzip - D JPEG-6B-SOL7-SPARC-LOCAL.GZ PKGADD -D JPEG-6B-SOL7-SPARC-LOCAL ZLIB installation: file name: Zlib-1.1.3-Sol7-sparc-local.gz version: 1.1.3 Download Site: http://www.sunfreeWare.com/ Download Location: ftp://ftp.sunfree.com/pub/freeware/sparc/7/zlib 1.3-sol7-sparc-local.gz installation method: / USR / local / bin / gzip -d zlib-1.1.3-sol7-sparc-local.gz pkgadd -d zlib-1.1.3-Sol7-sparc-local libpng installation: file name: libpng-1.0.2-Sol7 -sparc-local.gz version: 1.0.2 Download Site: http://www.sunfree.com/ Download Location: ftp://ftp.sunfree.com/pub/freeware/sparc/7/libpng-1.0.2 -Sol7-sparc-local.gz installation method: / usr / local / bin / gzip -d libpng-1.0.2-sol7-sparc-local.gz pkgadd -d libpng-1.0.2-sol7-sparc-local xpm Installation: File Name: XPM-3.4K-SOL7-SPARC-LOCAL.GZ version: 3.4 Download Site: http://www.sunfreeWare.com/ Download Location: ftp://ftp.sunfreeWare.com/pub/freeware/ SPARC / 7 / XPM-3.4K-SOL7-SPAR C-local.gz installation method: / usr / local / bin / gzip -d xpm-3.4k-sol7-sparc-local.gz pkgadd -d XPM-3.4K-SOL7-SPARC-LOCAL FREETYPE installation: File name: FreeType-1.3.1.tar.gz version: 1.3.1 Download Site: http://freetype.sourceForge.NET/ Download Location: ftp: //freetype.sourceforge.net/pub/freetype/freeetype1/freetype-1.3. 1.TAR.GZ installation method: / usr / local / bin / gzip -d

ftp://ftp.neuroinform.ruhr-uni-bochum.de/pub/software/t1lib/ Download Location: ftp: //ftp.neuroinform.ruhr-Uni-bochum.de/pub/software/t1lib/t1lib-1.0 .1.tar.gz installation method: / usr / local / bin / gzip -d

转载请注明原文地址:https://www.9cbs.com/read-44370.html

New Post(0)