imagecreatefromjpeg() function not working

Discussion in 'PHP' started by KAASSS, Nov 26, 2011.

  1. #1
    I am using vs.php and iis server for php programming but when writing imagecreatefromjpeg() function one error showed that is undefined function
    i also make changes in php.ini file
    but it did not work
    what should i do

     
    KAASSS, Nov 26, 2011 IP
  2. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #2
    Ensure you have the GD library enabled.
     
    danx10, Nov 26, 2011 IP
  3. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
  4. KAASSS

    KAASSS Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    GD library is enable...It successfully running in the localhost..bt shows error in vs.php....
     
    KAASSS, Nov 26, 2011 IP
  5. Qarizma

    Qarizma Member

    Messages:
    55
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    45
    #5
    Post your apache error log here, so we can take a look.
     
    Qarizma, Nov 27, 2011 IP
  6. freelanceinphp

    freelanceinphp Member

    Messages:
    134
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #6
    can you post yout vs.php code here
     
    freelanceinphp, Nov 27, 2011 IP
  7. KAASSS

    KAASSS Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    fortunately I found the solution.....Earlier I made all the changes to php.ini of vs.php.....bt it would not worked for me....Now I Edit php-xdebug.ini file...& problem solved...
    Thank You all for your co operation [​IMG] [​IMG] [​IMG]
     
    KAASSS, Nov 28, 2011 IP