ID: 26635 User updated by: choinet at rocketmail dot com Reported By: choinet at rocketmail dot com Status: Open Bug Type: *Graphics related Operating System: Windows XP PHP Version: 4.3.4 New Comment:
er wait, I get C:\Program Files\Apache Group\Apache2\htdocs (without the trailing backslash) Previous Comments: ------------------------------------------------------------------------ [2003-12-16 23:49:41] choinet at rocketmail dot com I get C:\Program Files\Apache Group\Apache2\htdocs\ ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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