-1

So I am creating a website for my virtual airline for xplane-11, and I came across this error:

Fatal error: Uncaught Exception: Required GD library is missing in /var/www/html/vam/captcha/simple-php-captcha.php:13 Stack trace: #0 /var/www/html/vam/index.php(15): simple_php_captcha() #1 {main} thrown in /var/www/html/vam/captcha/simple-php-captcha.php on line 13

I have libgd-dev installed on my ubuntu 20.04 and I also have all the extensions uncommented in my php.ini file in the etc/apache2/sites-available folder. I am really frustrated at this point and any help given will be thanked.

1 Answers1

3

From the command line what do you get if you run

php -m | grep -i gd

If it returns

gd

Then the module is included and running in your version of PHP.

Otherwise I would try the following

apt-get install php-gd

Then run the php -m | grep -gd command again after restarting apache

Scott McKeown
  • 141
  • 1
  • 8