enable gd library in php in windows code example Example: Install or enable PHP's gd extension apt-get install php-gd