Call to undefined function: imagecreatefromjpeg() in php?
I have a method that creates automatic thumbnails, but trying to deploy the project on a new machine, I got the error above.
Is the php installation that is the problem? or do I need to add something?
Status:
Open Oct 30, 2006 - 12:52 AM
PHP, GD, windows
2answers
Answers
Oct 30, 2006 - 01:25 AM
I found out that it was a problem of ghe GD library not being enabled.
What I did was to open the php.ini file and locate the line:
;extension=php_gd2.dll
and then removing the ";" in front, which otherwise means that it is commented out.
Then I had to restart IIS, which I did running the commando prompt and writing:
iisreset /restart
Aug 27, 2009 - 02:10 AM
question is that image is not loaded in captcha
Answer this question
Share Your Own Experience & Expertise
We look to ensure that every question is answered by the best people with relevant expertise and experience, the best answers include multiple perspectives. Do you have relevant expertise or experience to contribute your answer to any of these commonly asked questions?
Add New Comment