web 2.0

How to use PHP & GD and Config GD Support

How to use PHP & GD and Config GD Support The GD library function generate images or convert image to other format.

ShotDev Focus:
- PHP & Config GD Library

Solution

Fatal error: Call to undefined function imagecreate() in /gd.php on line 123

Solve Problem

Step 1
Open php.ini -> Start -> Run -> php.ini
copy php_gd2.dll to extension path ………. download file php_gd2.dll

extension_dir = “C:/AppServ\php5\ext”
.
.
.
.
.
extension=php_gd2.dll (Remove
; on file php.ini)

PHP & GD

Step 2
Restart Web Server

Example

<?
phpinf();
?>

Screenshot

PHP & GD

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.