How to Install PHP ext-gd and ext-zip extension

How to Install PHP ext-gd and ext-zip extension

1,802

Sometimes when you try to run composer commands you'll get errors that it says ext-gd is require, here I'll show you how to install ext-gd but I should mention as well to in order to ext-gd runs it requires another extension named ext-zip.

Today I teach you how to install both extensions and run your commands.

Step 1:

Run this command in your server root and install ext-gd

yum install gd gd-devel php-gd

Step 2:

Restart your apache server with command below

service httpd restart

Step 3:

Install ext-zip

yum install php-pecl-zip

Step 4:

Enjoy running your composer commands slightly_smiling_face

- Last updated 4 years ago

Ads

Be the first to leave a comment.

You must login to leave a comment