Re: Adding GD to php in Windows XP



"prk" <peter.kingsbury@xxxxxxxxxxx> wrote:
> if I remove the comment I get the mesage:
> Unable to load dynamic library './php_gd2.dll' - The
> specified module could not be found.

(1) Find or create the "extension_dir" line inside php.ini.
extension_dir = "C:/WINNT/system32/"
You can set it to "C:/php/extensions/" if you like, to prevent the
need for copying the files to another folder. If you change it to
the system32 folder, you must copy the appropriate extensions
to the system32 folder, as detailed in steps (2) and (3).
(2) Locate the php_gd2.dll inside, "C:\php\extensions\".
(3) Copy that file to "%systemroot%\system32" (or whatever path
the extension_dir points to).
(4) Uncomment the ";extension=php_gd2.dll" line inside php.ini.
(4) net stop apache
(5) net start apache

Hope this helps.

Jim Carlock
Post replies to the newsgroup.


.



Relevant Pages

  • Re: 403 forbidden
    ... I created a new folder myself and Apache started up on the ... missing or bad configuration. ... and permissions of 755. ...
    (uk.comp.sys.mac)
  • Re: security concerns for PHP on win2k
    ... are higher than the one the script resides in. ... Anyone know if they fixed the php ... > I have Apache with PHP running on a win2k box. ... > his public_html folder he can use windows security to grant the apache ...
    (alt.php)
  • Re: Getting rid of obsolete network mounts
    ... folder and see the PC there and connect to it, ... Share some files from the PC or the Mac? ... Windows users) could have them. ... You fired up Apache on the Mac or on the PC? ...
    (comp.sys.mac.system)
  • Re: Fwd: [PHP] php not reading file properly
    ... On Fri, Aug 22, 2008 at 10:13 AM, Ashley Sheridan ... So I made a cron jop to copy the log to the web folder every 5 minutes. ... It seems that php can't read the /var/log/httpd folder ... at the same time that you are Apache is being accessed. ...
    (php.general)
  • Re: debian-apache-rivet installation problem
    ... Of course I added the 'LoadModule rivet_module' line (with the apache ... /libexec folder actually). ... it seems that .rvt files are kind of working. ...
    (comp.lang.tcl)