how to get GD working on php4 under RHEL4?
Posted: Fri Feb 16, 2007 5:12 am
hi all,
I am trying to use GD lib in my code. But it kept showing "Fatal error: Call to undefined function: imagecreatefromjpeg()". In the phpinfo(), it shows:
' '--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses=shared' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
Does it mean that GD has already been installed with php4? If so, how can I turn in on?
I am using RHEL4 with Apache and PHP4 buildin package installed.
Please help me out. thnx
I am trying to use GD lib in my code. But it kept showing "Fatal error: Call to undefined function: imagecreatefromjpeg()". In the phpinfo(), it shows:
' '--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses=shared' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
Does it mean that GD has already been installed with php4? If so, how can I turn in on?
I am using RHEL4 with Apache and PHP4 buildin package installed.
Please help me out. thnx