Jump to content

php 5.2.3 GD problem


Recommended Posts

Hi everyone,

 

I'm a freshbie to PHP and I'd like to make a thumbnail with the help of GD library. I'm using PHP version 5.2.3.

Just I download php_gd2.dll and put it into the ext folder, uncomment the extension setting in php.ini and I am sure the extension path is correct, I still come with an error below:

Fatal error: Call to undefined function imagecreatefromjpeg() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\app\vendors\makeThumb.class.php on line 103

 

And I browse some other webs, as suggested, I try to put such a simple statement (<?php var_dump(gd_info()); ?> ) in my php for testing, it comes with such an error:

Fatal error: Call to undefined function gd_info() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\app\views\pictures\edit.thtml on line 90

 

Can anyone help? I have walked around these for a whole day..  :'(

Link to comment
https://forums.phpfreaks.com/topic/74681-php-523-gd-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.