How to enable the GD extension for image manipulation in PHP

How to enable the GD extension for image manipulation in PHP

1. Copy the ''extensions'' folder from \\FS1\C$\files\applications\php to the C:\PHP\ folder on the server you are setting up.

2. Open up the C:\winnt\php.ini file and edit for the following lines:
  • Change extension_dir = ./ to: extension_dir = C:\PHP\extensions
  • Find ;extension=php_gd2.dll and uncomment it.

    3. Save file and restart IIS. You may also have to reboot the server if it does not take the new settings.
  • Add Feedback