YogeshChauhan.com
How to enable GD library support for PHP on windows server?
May 10, 2020

Just follow the steps:

Step 1:

Go to your PHP folder where your PHP files and extensions are located.

In most cases the location is C:PHP.

Step 2:

Open extensions folder and make sure that php_gd2.dll file is present in it.

If the file is there, skip to step 5.

Step 3:

You need to download the file mentioned in step 2 from http://php.net/

Step 4:

Copy the file in the extensions folder.

Step 5:

Open php.ini configuration file.

It's in C:PHP.

Choose either the php.ini – development or php.ini – production file, and rename it php.ini. (renaming is optional)

Step 6:

Enable php_gd2.dll extension from php.ini configuration file.

Step 7:

You can verify extension-dir through PHP info script.

If you don't have it already, just add the following code in a PHP file and save it as phpinfo.php.

Code for PHPinfo script:


phpinfo();

Step 8:

Restart the IIS web server.

dreamhost

Leave a Reply

Most Read

#1 How to check if radio button is checked or not using JavaScript? #2 How to set opacity or transparency using CSS? #3 Pagination in CSS with multiple examples #4 How to make HTML form interactive and using CSS? #5 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #6 How to uninstall Cocoapods from the Mac OS?

Recently Posted

Mar 4 How to use data-* Attributes in HTML? Mar 4 The substr() method in JavaScript and how it’s different from substring() Mar 4 A complete guide to add responsive YouTube videos using HTML and CSS Mar 3 How to embed YouTube or other video links in WordPress? Mar 3 How to change the Login Logo in WordPress? Mar 3 substring() Method in JavaScript

You might also like these

Order By and Group By in PostgresPostgresUNION and UNION ALL in PostgresPostgresHow to Commit and Rollback Changes in SQL?SQL/MySQLFor In Loop in Swift for BeginnersSwiftHow to create a Star Ratings using CSS?CSSHow to Create a Backup From Any Database in SQL?SQL/MySQLHow to Remove PHP File Extensions From Your Website URLs?PHPperspective property in CSSCSSHow to create a horizontal scrolling menu with and without flex using CSS (or SCSS)?CSSDROP DATABASE (remove a database) from PostgresPostgresHow Do You Make a Private VPN?MiscHow to add a Line Chart in Angular App?Angular