This is what I get after I install DG dll from that URL

Call to undefined function: imagecreate()

What else I should do ?

DAN

    Hi,

    Sounds as if the DLL cannot be found by PHP.

    Have you

    1. Renamed the dll to php_gd.dll

    2. modified your PHP.ini and added extension=php_gd.dll?

    3. placed the dll in the extensions directory.

    Bye, John

      Yes I did all 3 things you mentioned.
      I used GD support before but only for jpg,
      so I just stopped Apache, then rewrite old php_gd.dll file with the new one and start Apache.

      Dan

        Sorry,

        I have no more ideas, except to reboot your PC or try reverting back to your old php_gd.dll and see if there is a difference.

        :-(

          please notice the php version!!
          this file maybe for php4.0.3-dev
          please wait that the php4.0.3 will release!
          Good Luck!

            Hi Sunny,

            The DLL works fine with 4.02.Is it working for you?

            The API for extensions such as php_gd.dll has been frozen since 4.0, so there is no reason why it shouldn't work with any 4.0 version as far as i know.

            Regards, John

              i have tried it,but it is giving
              " invalid index"

                hi john,
                i personally very thankful to you, you have make this so easy now.
                Earlier i used the php_gd.dll from swwwing.com.It uses 1.8+ gd lib.Lot of people
                are confused with that.

                I have tried your one .Very easy to install.
                i wish you should make more efforts to make php more easier.

                rohit

                  a year later

                  When I uncomment the extension=php_gd.dll
                  part of the ini php hangs.

                  I am using php4 which was bundeled with
                  apache, so I am worried about upgrading
                  because apache may be affected. Lots of problems on my unix side.

                  how should I set the extensions dir in
                  the windows php.ini ?

                  currently I have extension_dir="C:\WINDOWS\"

                  which is where I put the dll.

                  is php upgrade easy?

                    I have the same...
                    when I used apache/php "loadmodule"...

                    I haven't the same...
                    when I used it on "cgi way",
                    I can see a result of the php_gd.dll, but I see it in "microsoft editor"...before a download...

                    bye...

                      Write a Reply...