I'm trying to do some image resizing within a PHP script, and I've created a function to handle all of the commands needed to resize the image. However, when I run the funciton, I get:
Fatal error: Call to undefined function: imagecreatefromjpeg() in /www/rrentals/admin/inc/functions.inc.php on line 7
This seems odd to me, because it seems that php.net/imagecreatefromjpeg says otherwise. I know this type of function isn't available without GD installed, but phpinfo() tells me PHP was compiled '--with-gd=shared,/usr', among other things. I wasn't the one that compiled PHP on this particular server, but I presume that it wouldn't have successfully compiled with an invalid path (does that mean /usr/shared?)
Any ideas would be greatly appreciated!