Re: [GD-DEVEL] configuring gd on a windows server
[email protected] (Pierre)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jan 18, 2008 9:30 PM, Mike Gallamore <[email protected]> wrote: > Strange. I ran phpinfo() the "loaded configuration file" and the > "configuration file" paths don't match. I copied the one in D:/Program > files/PHP/ to D:/WINNT before running the script which output's > attached. So both the one located in program files and the one in the > system directory are the same, and both have the extension=php_gd2.dll > line. I've attached the php.ini file as well. Would deleting the one > from the WINNT directory help (force php to default to the program > file/PHP directory that has the ext directory)? I'm not sure to follow you but here are a few points you have to check: 1. be sure that you are editing the right php.ini (phpinfo() tells you which one php uses) 2. be sure that extension_dir is correctly set and the php_gd2.dll is in there (and the directory must be readable by apache), in your case: D:\Program Files\PHP\ext 3. be sure that the line "extension=php_gd2.dll" is in your php.ini 4. don't mix php version, be sure that php_gd2.dll is actually the php 5.2.5 version An alternative would be to simply delete everything (php-apache related, incl. all php.ini) and install something like wamp. It may make your life easier until you get more familiar with the php and apache configuration. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org