note 23178 added to ref.image
| From: | adam at neolantix dot com | Date: | Thu, 11 Jul 2002 04:17:08 +0000 |
| Subject: | note 23178 added to ref.image | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32881@lists.php.net to get a copy of this message | ||
To install GD on an XP machine running Apache(version whatever) and PHP:
Download the source version of PHP, even if you plan to (or already have) installed PHP using the
installer version. If your installed version of PHP is older than the new source version you're
downloading, you're going to need to update first.
Install PHP using the installer if necessary.
Open the source version, and copy the file "extensions/php_gd.dll" to windows\system32.
In PHP.ini, change this line:
;extension=php_gd.dll
to this
extension=php_gd.dll
Reload Apache.
Enter a phpinfo(); command and execute the script. Hit ctrl + F and type in "gd". There
will now be a section dedicated to the extension.
I had tried to simply copy the dll I needed out of a new source version of PHP, but the API dates
for the dll vs. PHP didn't match, so even if you plan to use the installer, you need to grab
both files: installer AND source.
--
http://www.php.net/manual/en/ref.image.php
http://master.php.net/manage/user-notes.php?action=edit+23178
http://master.php.net/manage/user-notes.php?action=delete+23178
http://master.php.net/manage/user-notes.php?action=reject+23178