Page 1 of 1
gd graphic library
Posted: Mon May 01, 2006 8:41 am
by dujed
How to install gd graphic library for PHP 4.4.2 on windows xp!!My photo album doesn't work!I have
Fatal error: Call to undefined function: imagecreatefromjpeg() in c:\htdocs\handyman\photo\index.php
Thanks!
Posted: Mon May 01, 2006 8:53 am
by Hurreman
Have you checked your
php.ini to see if it's loading?
Open if up and search for GD, and you should end up at the correct row. Then, if it's commented, remove the ";" in front of extension=php_gd2.dll.
It could also be php_gd.dll, I can't quite remember what version is shipped with 4.4.2.
Change
php.ini
To
php.ini
And restart apache.
Posted: Mon May 01, 2006 8:53 am
by feyd
uncomment the php_gd2.dll line in your php.ini, restart the web server.