Jump to content

"No image support for this PHP server" Error message


coderage

Recommended Posts

Im getting "No image support for this PHP server"  message when i try to run this code, or try to run any other graphics related code. using Apache 2.0.52 and PHP 5

 

<?php

    define("SRC_FILE", "pic.jpg");

 

    $img = imagecreatefromjpg(SRC_FILE);

    $img_copy = imagecreatefromjpg(SRC_FILE);

 

 

    header("Content-Type: image/jpg");

    imagejpg($img_copy);

?>

 

Kindly suggest a solution.

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.