Closed MrMooky closed 2 years ago
You need to install php-gd.
I don't understand why this was closed. Like I said, it is working fine with PHP 8.0 but has issues with 8.1.
@MrMooky its closed because it's looking for global functions but not finding them so it's falling back to the namespace
The global functions it's looking for are part of php-gd. You did not compile php gd with the right set of requirements or it's not installed.
I'm using this with php 8.1 currently and it works fine
See: https://www.php.net/manual/en/function.imagettftext.php
@MrMooky @tm1000 updated to php8.2, problem still persists. @igoshev are you active here?
I just updated my production server to php 8.1 and noticed, that the captcha is not working correctly anymore. For some reason it works locally, but takes about 5-8 seconds to load. Had no issue with php 8.0 before.
On my live server, I get the following exception and no image is being generated: