Results 1 to 4 of 4

Thread: I'm mad NEWB, installation of PHP.

  1. #1

    Thread Starter
    Fanatic Member scr0p's Avatar
    Join Date
    Oct 2002
    Location
    VA
    Posts
    720

    I'm mad NEWB, installation of PHP.

    Ok so I got php installed (4.3.0) and I am using it (apache), and then my books gets to this part about dynamic images, but It says undefined function for $id = createimage() and whatnot, I didn't install it with GD library.. how do I install the library now that I have PHP working already? also the same applies to the database 'thing'.. (DBM).
    asdf

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    You can get the graphic library here, but the DBM functions are deprecated.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3

    Thread Starter
    Fanatic Member scr0p's Avatar
    Join Date
    Oct 2002
    Location
    VA
    Posts
    720
    "php 4.3.0 is available, and it includes a version of gd as "standard equipment.""

    This says that PHP 4.3.0 has gd with it, but how do I 'enable' it?
    asdf

  4. #4
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD base install directory. To use the recommended bundled version of the GD library configure --with-gd. In Windows you'll include php_gd2.dll as an extension in php.ini. There is also php_gd.dll for GD1 but it's not preferred.

    Enhance the capabilities of GD to handle more image formats by specifying the --with-XXXX configure switch to your PHP configure line.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width