To make the captcha image work you will need to install php-gd. Since there might be version in the name first try searching your package manager Next you need to go to /etc/php/[your_version]/cli/php.ini and remove the semi-colon(;) from the line with extension=gd. Done.