GD 2 on php?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roger

    GD 2 on php?

    Hello everybody,

    I'm looking for a php gallery management system and I would like to check
    something.

    The setup for the management system says I need GD version 2 to get nice
    thumbnails. I looked it up on www.php.net and I think it says that GD 2 is
    built in php 4.3.2. I'm running php 4.3.4 on Windows XP home. Does that mean
    I don't have to worry about that? Or do I still have to "activate" the GD?

    I'm a php newbie so go easy on me please ;-)

    Roger


  • Andy Hassall

    #2
    Re: GD 2 on php?

    On Thu, 22 Jan 2004 17:31:25 GMT, "Roger" <medionneke@hot mail.com> wrote:
    [color=blue]
    >I'm looking for a php gallery management system and I would like to check
    >something.
    >
    >The setup for the management system says I need GD version 2 to get nice
    >thumbnails. I looked it up on www.php.net and I think it says that GD 2 is
    >built in php 4.3.2. I'm running php 4.3.4 on Windows XP home. Does that mean
    >I don't have to worry about that? Or do I still have to "activate" the GD?[/color]

    Get the .zip version of the download (not the installer), it comes with many
    prebuilt libraries. php_gd2.dll is one of them.

    Edit php.ini, set extension_dir to the right directory, remove the ';' comment
    in front of the extension=php_g d2.dll line, stop&start webserver and you'll
    have GD2 enabled.

    Check with the following short script:

    <?php phpinfo(); ?>

    This dumps lots of configuration information, including loaded extensions.

    --
    Andy Hassall <andy@andyh.co. uk> / Space: disk usage analysis tool
    <http://www.andyh.co.uk > / <http://www.andyhsoftwa re.co.uk/space>

    Comment

    • Dan Tripp

      #3
      Re: GD 2 on php?

      Roger wrote:[color=blue]
      > Hello everybody,
      >
      > I'm looking for a php gallery management system and I would like to check
      > something.
      >
      > The setup for the management system says I need GD version 2 to get nice
      > thumbnails. I looked it up on www.php.net and I think it says that GD 2 is
      > built in php 4.3.2. I'm running php 4.3.4 on Windows XP home. Does that mean
      > I don't have to worry about that? Or do I still have to "activate" the GD?
      >
      > I'm a php newbie so go easy on me please ;-)
      >
      > Roger
      >
      >[/color]

      For what it's worth, I'm a fan of Gallery, an opensource photo manager
      built in PHP. http://gallery.menalto.com/

      I use it, and like it. http://www.dantripp.com/gallery

      - Dan

      Comment

      Working...