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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.