Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Unable to create graphic text image on Wamp 3.1.7 with PHP 7.1.26 or later (no replies)

$
0
0
On my WampServer 3.1.7 64-bit version running on Windows 10 Home (laptop) or on Windows 7 Pro (desktop), I am getting following errors

PHP Warning: imagettftext(): Could not find/open font in D:\wamp64\www\tng\title.php on line 154

when I switch to use PHP 7.2 or 7.3 on WampServer. The code works fine on ICDSoft PHP 7.2.13 site

Best I can tell the difference is the

FreeType Version 2.9.1 on WampServer with PHP 7.1.26 or higher versus 2.7.0 in PHP 5.6

ICDSoft is using FreeType Version 2.6.3 for their PHP 7.2.13 - my dynamic title script works there and on my WampServer with PHH 5.6 but not when I switch to PHP 7.1.26, 7.2.14, or 7.3.1

I have tried all the various solutions recommended when I searched for PHP Warning: imagettftext(): Could not find/open font but none seem to resolve the problem

Anyone know how I can use Free Type Version 2.7 for the other versions of PHP?

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>