PHP: How to install GD Modul for creating and editing images on the fly?

I am confused about things on the Internet ...

Should I install the GD library on my web server .. it sounds like I have to install it on my computer.

so please, I need a simple step by step to install it on my web server.

thanks in advance .. and apologize for my bad english.

edit: allowed! THX!

+3
source share
3 answers

If you host it yourself and you have installed PHP correctly, you just need to include it php_gd2in php.ini.

+1
source

create a simple php script like this <?php echo phpinfo(); ?>

script php_gd2. ... ...

+1

, GD -, /, . - , . manual .

Ubuntu, , , sudo apt-get install php5-gd.

, , php -m | grep gd CLI PHP <?php phpinfo() GD.

, php.ini extension=gd.so Apache, Ubuntu sudo /etc/init.d/apache2 restart.

: , GD , Bytehost , GD, Image Magick.

+1
source

Source: https://habr.com/ru/post/1776427/


All Articles