How do i run PHP with GD?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
paolo1979
Forum Newbie
Posts: 2
Joined: Tue Nov 04, 2003 1:52 am

How do i run PHP with GD?

Post by paolo1979 »

i have downloaded and installed PHP 4.3.0 on my Windows 98 PC...do i still need to install GD image library?how do i install it?....i have alredy
removed the semicolon in the line ";extension=php_gd.dll" in my php.ini file...but when i run phpinfo(); it will not load...whats wrong?...can anybody help me with this?..a million thanks!
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Which version of PHP did you install, the self-installer or the binary version?

Mac
paolo1979
Forum Newbie
Posts: 2
Joined: Tue Nov 04, 2003 1:52 am

windows binary version

Post by paolo1979 »

PHP version 4.3.3...im using the windows binary (win32) installer when i installed my PHP..thanks
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

The installer does not come with the extension libraries (such as GD) you need to get these from the zip package:
PHP Downloads Page wrote:
  • PHP 4.3.4 zip package [6,815Kb] - 03 November 2003
    (CGI binary plus server API versions for Apache, Apache2 (experimental), ISAPI, NSAPI, Servlet and Pi3Web. MySQL support built-in, many extensions included, packaged as zip)
  • PHP 4.3.4 installer [1,043Kb] - 03 November 2003
    (CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
Mac
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Post Reply