View previous topic :: View next topic |
Author |
Message |
cuidado -
Joined: 12 Apr 2004 Posts: 3 Location: Redditch uk
|
Posted: Mon Apr 12, 2004 6:20 pm Post subject: Call to undefined function: imagecreatefromjpeg() |
|
|
Hi Everyone
Im new to php so i need some help with this one. Im currently running a free php script on the blueyonder apache server which makes thumbnails from my larger images on the fly. Its great and it works really well. When i try to run the same setup on the Abyss server i get the following message:-
Call to undefined function: imagecreatefromjpeg()
I wonder if anyone can help me with this please?
Thanks
Tony. |
|
Back to top |
|
 |
nquin321 -
Joined: 29 Jan 2004 Posts: 296 Location: Right Behind You
|
Posted: Mon Apr 12, 2004 6:39 pm Post subject: |
|
|
cuidado,
You must install the GD2 library extension in PHP. We assume that you have a running PHP installation: Download the binary zipped package of PHP, open it, and copy the file php_gd2.dll in your already installed PHP directory (you only need this file).
Next, open your php.ini file, locate the line:
Code:
;extension=php_gd2.dll
uncomment the line by removing the preceding ";" so your line becomes:
Code:
extension=php_gd2.dll
Retry your script. _________________ How many forum members does it takes to change a light bulb? |
|
Back to top |
|
 |
cuidado -
Joined: 12 Apr 2004 Posts: 3 Location: Redditch uk
|
Posted: Mon Apr 12, 2004 8:59 pm Post subject: |
|
|
Dear nquin 321
Thankyou for your very clear and concise instructions. I did exactly as you said, and it worked perfectly first time. I hope that you are enjoying an easter break and I would like to wish both you and your's a very happy holiday.
With thanks
Tony. |
|
Back to top |
|
 |
nquin321 -
Joined: 29 Jan 2004 Posts: 296 Location: Right Behind You
|
|
Back to top |
|
 |
|