Enable Image Processing Extensions in PHP for localhost & in cPanel | Enable GD in PHP

preview_player
Показать описание
In PHP you can create, manipulate and process image files in a variety of different image formats, including GIF, PNG, JPEG, WBMP, and more. You will need certain PHP libraries or extensions like GD or GD2, GraphicsMagick, ImageMagick and such. On a live PHP server in XAMPP, GD is usually installed. But if not, here is how you can enable extensions and libraries in PHP on localhost and on a live server.

How to enable GD Library with XAMPP? I have a WordPress plugin that uses PHP extensions or libraries to process images. GD extension is disabled in it. To activate it, open XAMPP control panel and in front of APACHE click CONFIG button. Search for GD and uncomment it, remove semicolon before this line.

For a live server like in CPanel, go to Software area and click at 'Select PHP Version'. Here you can select PHP version and enable / disable available extensions for it. GD library is enabled for me
If you don't have it enabled, enable it to use it. You can enable other extensions like imagick and gmagick from here as well.

If you are new to the channel, subscribe to learn more about web development, web application development, editing wordpress source code, how to create a website using wordpress, developing landing page in wordpress, working with child theme wordpress, custom wordpress theme development, wordpress plugin development, how to build a website with wordpress, create website with wordpress and related web development areas.

Thank You!
👍 LIKE VIDEO
👊 SUBSCRIBE
🔔 PRESS BELL ICON
✍️ COMMENT

#webstylepress #PHP #GD #ImageProcessing #GD2 #ImageFunctions #WebDevelopment #WordpressDeveloper #cpanel #localhost
Рекомендации по теме
Комментарии
Автор

Thank you very much, you are much clearer than the official php manual, praise the goodwill spirit of techies everywhere.

peternicholson
Автор

This problem has bothered me for hours. Thank you so much from the bottom of my heart.

Hystory
Автор

Simple and direct to the point! Thank you Sir you are a king!

davidsousa
Автор

Simple and direct to solve problem! Thank you 😇

MuhammadYasir-njry
Автор

This just fixed a problem I didn't know I had, thanks a ton!

austin
Автор

Thank you so much ❤ It worked perfectly 😊

razagofficial
Автор

Thank you so much for the tip my friend!!!

pvlostnk
Автор

Thanks Bro
I am very thankful to you.

muneebahmed
Автор

Hello, Good job, thanks for this usefull tutorial, Which version of xampp are you using. Mine contains only gd2 and my software can support only GD?

fulbertnaoudouwel
Автор

What I don't have "Select PHP version" on my cPanel. What other way can I get this done?

TimOlukayodeAjayi
Автор

What plugin are you using in the video to review active processes? Thank you!

eovando
Автор

It shows me extension=gd2
What should I do

kalyanibonde
Автор

Bro, how did you get to where you started?

Program_Code