Linux – Php5-gd error linux

kali-linuxlinuxPHP

So i'm new to the whole server building stuff, and I am trying to make a DVWA server on Kali Linux, but it gives me an error which says:The PHP module PHP-GD is not installed. But when I try to run this command: apt-get install php5-gd it gives me an error saying: Unable to locate package php5-gd. I have tried to search online but no-one else seems to have this problem.

Thanks in advance 🙂

Best Answer

If you have linux server then try

sudo yum install php-gd

For version specific

sudo yum install php55-gd

or

sudo yum install php56-gd

or

sudo yum install php70-gd

and then run

sudo service httpd restart
Related Topic