install gd image support for php pada cpanel-whm server

5
Install GD Image Support For PHP Pada cPanel/WHM Server http://www.linggih.com | Install GD Image Support For PHP Pada cPanel/WHM Server 1 Install GD Image Support For PHP Pada cPanel/WHM Server PHP (PHP Hypertext Preprocessor) tidak hanya terbatas untuk membuat output dokumen HTML saja, namun juga bisa digunakan untuk membuat dan memanipulasi file-file gambar dalam variasi format yang berbeda (GIF, PNG, JPEG, WBMP, dan XPM). Dengan kata lain, PHP dapat membuat output stream gambar langsung ke browser. Untuk dapat mengaktifkan fungsi ini, diperlukan compile “GD Image Support For PHP” . Berikut tutorial singkat install ‘GD Image Support For PHP’ pada cPanel/WHM Server: » WHM » Software » EasyApache (Apache Update) » Klik ‘PHP Encryption and Image Manipulation [More Info]‘ » Klik tombol ‘Build Profile Now’

Upload: linggih

Post on 24-Oct-2014

74 views

Category:

Documents


2 download

DESCRIPTION

Tutorial Install GD Image Support for PHP Pada cPanel-WHM Server

TRANSCRIPT

Page 1: Install GD Image Support for PHP Pada cPanel-WHM Server

Install GD Image Support For PHP Pada cPanel/WHM Server

http://www.linggih.com | Install GD Image Support For PHP Pada cPanel/WHM Server 1

Install GD Image Support For PHP Pada cPanel/WHM Server

PHP (PHP Hypertext Preprocessor) tidak hanya terbatas untuk membuat output dokumen HTML saja, namun juga bisa

digunakan untuk membuat dan memanipulasi file-file gambar dalam variasi format yang berbeda (GIF, PNG, JPEG,

WBMP, dan XPM). Dengan kata lain, PHP dapat membuat output stream gambar langsung ke browser.

Untuk dapat mengaktifkan fungsi ini, diperlukan compile “GD Image Support For PHP”. Berikut tutorial singkat install

‘GD Image Support For PHP’ pada cPanel/WHM Server:

» WHM » Software » EasyApache (Apache Update)

» Klik ‘PHP Encryption and Image Manipulation [More Info]‘

» Klik tombol ‘Build Profile Now’

Page 2: Install GD Image Support for PHP Pada cPanel-WHM Server

Install GD Image Support For PHP Pada cPanel/WHM Server

http://www.linggih.com | Install GD Image Support For PHP Pada cPanel/WHM Server 2

» Kotak dialog konfirmasi ‘Recompile Apache and PHP now?’ → klik tombol Yes

» Please acknowledge ‘Termination of the build process will result in data loss! The build process is…’ → klik tombol I

Understand

Page 3: Install GD Image Support for PHP Pada cPanel-WHM Server

Install GD Image Support For PHP Pada cPanel/WHM Server

http://www.linggih.com | Install GD Image Support For PHP Pada cPanel/WHM Server 3

» Tunggu beberapa menit sampai proses build selesai (lama tidaknya tergantung pada spesifikasi mesin server).

» Configure PHP and SuExec, biarkan default (tidak usah diedit / optional). Klik tombol Close

Page 4: Install GD Image Support for PHP Pada cPanel-WHM Server

Install GD Image Support For PHP Pada cPanel/WHM Server

http://www.linggih.com | Install GD Image Support For PHP Pada cPanel/WHM Server 4

Untuk cek apakah GD Image Support For PHP sudah terinstall (gd baris ke-13), cek via putty dan jalankan

command berikut.

php -m

root@server5 [~]# php -m [PHP Modules] bcmath calendar Core ctype curl date dom ereg filter ftp gd hash iconv imap json libxml mcrypt mysql openssl pcre Phar

Page 5: Install GD Image Support for PHP Pada cPanel-WHM Server

Install GD Image Support For PHP Pada cPanel/WHM Server

http://www.linggih.com | Install GD Image Support For PHP Pada cPanel/WHM Server 5

posix Reflection session SimpleXML sockets SPL SQLite sqlite3 standard tokenizer xml xmlreader xmlwriter zlib [Zend Modules] root@server5 [~]#

Selesai

Referensi manual Image Processing and GD: http://php.net/manual/en/book.image.php

Article Source:

http://l inggih.com/webserver/cpanelwhm/instal l -gd -image -suppor t-fo r-php -pada-cpanelwhm -serv er/