Re: [GD-DEVEL] configuring gd on a windows server

From: Date: Fri, 18 Jan 2008 20:47:14 +0000
Subject: Re: [GD-DEVEL] configuring gd on a windows server
References: 1 2 3 4 5  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-324@lists.php.net to get a copy of this message
On Jan 18, 2008 9:30 PM, Mike Gallamore <mike.gallamore@grhosp.on.ca> 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

« previous php.gd.devel (#324) next »