Re: PHP Version 5.6.10

From: Date: Fri, 10 Jul 2015 12:53:57 +0000
Subject: Re: PHP Version 5.6.10
References: 1 2 3 4  Groups: php.windows 
Request: Send a blank email to php-windows+get-31347@lists.php.net to get a copy of this message
Good Guy in php.windows (Fri, 10 Jul 2015 03:23:18 +0100): >On 09/07/2015 09:11, Jan Ehrhardt wrote: >> Anatol is absolutely right that you'd better upgrade to Apache 2.4, >> but if you can't there is a php5apache2_2.dll in my builds: >> http://www.apachelounge.com/viewtopic.php?t=6359 Jan > >OK downloaded the apachelounge version and everything seems to be >working for now. One thing though I would like to fix and that is this: > >Ugly-Error ><http://s11.postimg.org/bq68my08z/2015_07_10_0317.png> http://php.net/imagettftext just works with a fontfile in the directory of the script. Example on Windows with my PHP 5.3 php_gd2.dll: http://iss.albatros-amsterdam.nl/login.php?getpass=2&lidnr=CDQ0F7Y Code $font = "tahomabd.ttf"; $font_size = 33; $char = ""; $char = $this -> Characters[0]; $random_x = mt_rand(10 , 20); $random_y = mt_rand(40 , 50); $random_angle = mt_rand(-20 , 20); imagettftext($image, $font_size, $random_angle, $random_x, $random_y, \ $char_color, $font, $char); Jan

« previous php.windows (#31347) next »