imageRotate()函数不能用!!
----------------------------------------------
用print_r(get_extension_funcs("gd"));得出的结果:
Array ( [0] => gd_info [1] => imagearc [2] => imageellipse [3] => imagechar [4] => imagecharup [5] => imagecolorat [6] => imagecolorallocate [7] => imagepalettecopy [8] => imagecreatefromstring [9] => imagecolorclosest [10] => imagecolorclosesthwb [11] => imagecolordeallocate [12] => imagecolorresolve [13] => imagecolorexact [14] => imagecolorset [15] => imagecolortransparent [16] => imagecolorstotal [17] => imagecolorsforindex [18] => imagecopy [19] => imagecopymerge [20] => imagecopymergegray [21] => imagecopyresized [22] => imagecreate [23] => imagecreatetruecolor [24] => imageistruecolor [25] => imagetruecolortopalette [26] => imagesetthickness [27] => imagefilledarc [28] => imagefilledellipse [29] => imagealphablending [30] => imagesavealpha [31] => imagecolorallocatealpha [32] => imagecolorresolvealpha [33] => imagecolorclosestalpha [34] => imagecolorexactalpha [35] => imagecopyresampled [36] => imagesettile [37] => imagesetbrush [38] => imagesetstyle [39] => imagecreatefrompng [40] => imagecreatefromgif [41] => imagecreatefromjpeg [42] => imagecreatefromwbmp [43] => imagecreatefromgd [44] => imagecreatefromgd2 [45] => imagecreatefromgd2part [46] => imagepng [47] => imagegif [48] => imagejpeg [49] => imagewbmp [50] => imagegd [51] => imagegd2 [52] => imagedestroy [53] => imagegammacorrect [54] => imagefill [55] => imagefilledpolygon [56] => imagefilledrectangle [57] => imagefilltoborder [58] => imagefontwidth [59] => imagefontheight [60] => imageinterlace [61] => imageline [62] => imageloadfont [63] => imagepolygon [64] => imagerectangle [65] => imagesetpixel [66] => imagestring [67] => imagestringup [68] => imagesx [69] => imagesy [70] => imagedashedline [71] => imagettfbbox [72] => imagettftext [73] => imageftbbox [74] => imagefttext [75] => imagetypes [76] => jpeg2wbmp [77] => png2wbmp [78] => image2wbmp )
----------------------------------------
phpinfo里面的信息
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.5
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
------------------------------------
不知道为什么出错,出错信息如下:
Fatal error: Call to undefined function imagerotate() in /export/wwwsourcingmap/logo/logoimage.class.php on line 244
PHP手册中这句
"注: 本函数仅在 PHP 与其捆绑的 GD 库一起编译时可用。"是什么意思啊?怎么解决?