Many features that you see on the web require that the GD library be enabled on your PHP server. You may need the GD library if you are
attempting to display CAPTCHA graphics somewhere on your site.
In a default PHP installation, the GD library should already be enabled.
The following tutorial explains how to determine if the GD library is enabled on your PHP server, and how you might be able to turn this on.
You can check to see if the GD library is enabled by creating a simple phpinfo page on your web server.
<?php
phpinfo();
?>
Below are a few common examples on how to install GD.
Windows Server users
;extension=php_gd2.dll
Ubuntu Linux users
sudo apt-get install php5-gd
Mac OSX users
For Mac OSX users, there is not a simple solution for enabling the GD library after PHP installation is complete. Instead, we recommend that you use MAMP, which you can obtain from the following location.
MAMP allows you to install Apache, MySQL and PHP for testing your websites locally.
Comments will be sent to the author of this tutorial and may not be answered immediately. For general help from WebAssist, please visit technical support.
Sign in to add commentsYour friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.
: 11 Years, 4 Months, 4 Days, 23 Hours, 10 Minutes ago
Tank you for your information, perfectly clear and easy to follow !
gor.denish: 11 Years, 2 Months, 3 Weeks, 1 Day, 8 Minutes ago
gd library php download
gor.denish: 11 Years, 2 Months, 3 Weeks, 1 Day, 8 Minutes ago
Thank You
: 8 Years, 5 Months, 1 Week, 1 Day, 22 Hours, 23 Minutes ago
How can I Enable Webp support in php GD library in xampp on linux?
I have XAMPP for Linux 7.0.8*
And enabled with GD Support.
I want to use `imagewebp();`.
I have error while using this,
Fatal error: Uncaught Error: Call to undefined function imagewebp()
while searching for a solution I have concluded with is solution from http://php.net/manual/en/image.installation.php
> webp | To enable support for webp add --with-vpx-dir=DIR . Available as of PHP 5.5.
I want to enable webp support.
What I want to do?