You need to install and enable the php-gd image functions. On Ubuntu the
package is named
php7.4-gd
where 7.4 is your current active PHP version on the wiki.
In some cases you may need to enable it in your php.ini file, by
removing the initial semi-colon from the line:
;extension=gd2
You can see where is your php.ini by going to pmwiki.php?action=phpinfo
when remote diagnostics are enabled with $EnableDiag = 1;.
Then you may need to restart Apache.
See other cases:
https://www.php.net/manual/en/image.installation.php
Petko
--
If you upgrade : http://www.pmwiki.org/Upgrades
On 20/12/2019 14:58, Johan Bengtsson wrote:
I get this error in the log with captcha and php 7.3.12 +
pmwiki-2.2.120:
Fatal error: Uncaught Error: Call to undefined function
imagecreatetruecolor() in
/var/www/wikiportal/itportal/cookbook/captcha.php:
...
The captcha is not displayed.
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users