Re: Problems with gd library

From: Date: Fri, 04 Aug 2000 19:50:06 +0000
Subject: Re: Problems with gd library
Groups: php.windows 
Request: Send a blank email to php-windows+get-1571@lists.php.net to get a copy of this message
Rygars > > I have a problem when I try to add php_gd.dll library. I have > downloaded the file php_gd.dll and I have modified within > c:/windows/php.ini (php 4.0.1pl2) > in Windows Extension section the quoted thing that follows > "extension=php_gd.dll" ( the extension directory points to the directory > where php is installed: "extension_dir= C:/PHP" ). Well when I run > phpinfo function there is no gd section. Okay, I hd a problem with something similar. Look in your PHP dir and see if there is a PHP.INI file in there also. PHP seems to default its loading of the INI file to: 1) %phpdir%\php.ini 2) %windir%\php.ini Personnally, if there is an PHP.INI file in your WinDir and PHPDir, I would delete the Win one and concentrate on the PHP one. Modify the extensions in that file and run phpinfo(). It seems to work because PHP is ported to Windows and on Linux you have to express a path to a file, even in the current or working dirs. In Windows, the current and working dir are automagically included in %PATH%. > Maybe (s)he can help me with php_gd.dll or other dlls that are > working... maybe mine are not working. Also, run PHP.EXE from the command line <C:\php\php.exe> and if the modules are not loading properly, it shows which are the affected modules and why they do not load. However, it appears that PHP gives up the ghost if any module fails to load!!! > ...of course if there is someone that can help me. Hope this works for you. Regards, EF http://ixion.org/ Not everything in black and white makes sense

« previous php.windows (#1571) next »