ID: 26635 User updated by: choinet at rocketmail dot com Reported By: choinet at rocketmail dot com -Status: Feedback +Status: Open Bug Type: *Graphics related Operating System: Windows XP PHP Version: 4.3.4 New Comment:
I get C:\Program Files\Apache Group\Apache2\htdocs\ Previous Comments: ------------------------------------------------------------------------ [2003-12-16 18:37:27] [EMAIL PROTECTED] if you add echo getcwd(); to your script, what directory does it show? ------------------------------------------------------------------------ [2003-12-16 16:49:08] choinet at rocketmail dot com After checking, I determined that the problem with opening the fontfile in the PHP 5 CVS version of imagettftext() occurs on both Apache 1 and 2 (both sapi modules). ------------------------------------------------------------------------ [2003-12-16 16:25:42] [EMAIL PROTECTED] Are you using php as CGI? ------------------------------------------------------------------------ [2003-12-16 16:17:45] choinet at rocketmail dot com I just downloaded both the PHP 5 CVS (Built On: Dec 16, 2003 19:30 GMT) and the Stable 4.3 (Built On: Dec 16, 2003 17:30 GMT) from snaps.php.net, and neither one seems to have fixed the problem. Now, imagettftext and imagettfbbox don't seem to accept even the absolute pathname to the fontfile. I did use the php4apache2.dll from the beta 2 release of PHP 5 for the CVS version, since the CVS version was missing it. ------------------------------------------------------------------------ [2003-12-15 15:31:27] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26635 -- Edit this bug report at http://bugs.php.net/?id=26635&edit=1