|
-
Apr 29th, 2003, 08:18 PM
#1
Thread Starter
Fanatic Member
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).
-
Apr 29th, 2003, 09:01 PM
#2
Stuck in the 80s
You can get the graphic library here, but the DBM functions are deprecated.
-
Apr 29th, 2003, 09:28 PM
#3
Thread Starter
Fanatic Member
"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?
-
Apr 29th, 2003, 09:43 PM
#4
Stuck in the 80s
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|