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
how to get GD working on php4 under RHEL4?
Moderator: General Moderators
the extension has been built as module aka shared object.--with-gd=shared
Start the package manager, search for php-gd and install it. You might have to restart the webserver after that.