note 23178 deleted from ref.image by philip
| From: | philip@php.net | Date: | Mon, 20 Jan 2003 01:54:11 +0000 |
| Subject: | note 23178 deleted from ref.image by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42403@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.