installing GD for php

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default installing GD for php

    Why does it seem to be difficult to install GD for PHP? I have tried and just
    can not seem to figure it out! does any one know where I can get some better
    directions to do it then the ones on their site? I want to use this PHP
    photogallery and it uses GD for the thumbnails.

    Too bad they just don't make it part of PHP when you install it.

    Thanks for the help if any one has some ;-)

    pixelsoul Guest

  2. Similar Questions and Discussions

    1. Error 1409 installing Acrobat 8 on SystemError message 1409, installing Acrobat 8Professional on O
      Have tried installing from the CD or copy files to HD and then install. Will not happen either way. Will get error message or will not open. Have...
    2. Help! CFMX7 stalls on installing at "Installing WebServer Connectors"
      I hope someone can help with this - I am currently doing an install (fresh = no other CF versions on server) on a small production server - the...
    3. Installing CF on XP pro with IIS 5
      I have installed CF MX, 6.1 and 7 and still not having any luck and i really need to get this sorted. After i install the software the admin page...
    4. Installing standalone CF7 after installing JRun4
      I have installed JRun4 in developer mode. Subsequently I am attempting to install CF7 in "Multiserver configuration" but this option is dimmed out...
    5. Installing PHP 4.3.8
      I am trying to install php 4.3.8 with the following: ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var...
  3. #2

    Default installing GD for php

    Why does it seem to be difficult to install GD for PHP? I have tried and just
    can not seem to figure it out! does any one know where I can get some better
    directions to do it then the ones on their site? I want to use this PHP
    photogallery and it uses GD for the thumbnails.

    Too bad they just don't make it part of PHP when you install it.

    Thanks for the help if any one has some ;-)

    pixelsoul Guest

  4. #3

    Default Re: installing GD for php

    sorry accidently submited this twice
    pixelsoul Guest

  5. #4

    Default Re: installing GD for php

    On Tue, 29 Mar 2005 06:10:52 +0000 (UTC), pixelsoul
    <webforumsuser@macromedia.com> wrote:
    > Why does it seem to be difficult to install GD for PHP? I have tried and
    > just
    > can not seem to figure it out! does any one know where I can get some
    > better
    > directions to do it then the ones on their site? I want to use this PHP
    > photogallery and it uses GD for the thumbnails.
    >
    > Too bad they just don't make it part of PHP when you install it.
    >
    > Thanks for the help if any one has some ;-)
    >
    Which OS are you running, on linux is rather simple just compile the
    latest and add to the extension, then go to php.ini and update the list
    pointing to the library.



    --
    Alexandro Colorado
    ------------------------------
    Support Engineer
    InterAKT Online
    [url]http://www.interaktonline.com[/url]
    Tel: 40(21) 312.5312
    Alexandro Colorado Guest

  6. #5

    Default Re: installing GD for php

    On Tue, 29 Mar 2005 06:10:57 +0000 (UTC), pixelsoul
    <webforumsuser@macromedia.com> wrote:
    > Too bad they just don't make it part of PHP when you install it.
    Actually they do, most php full packages contain GD Libraries as an
    extension. For example if you download a bundle install like
    appservnetwork.net (for windows) you would have under extensions all
    modules including gdlibrary.

    Also for linux you might want to visit friendsofapache.com which also lets
    you install Apache-MySQL-PHP on the same installation process and usually
    include the extensions.

    This article even talk about php with XML XSLT support bundled into your
    instalation:
    [url]http://blog.bitflux.ch/archive/download_apache_php_sablotron_libxml_gd_in_one_nea t_package.html[/url]
    --
    Alexandro Colorado
    ------------------------------
    Support Engineer
    InterAKT Online
    [url]http://www.interaktonline.com[/url]
    Tel: 40(21) 312.5312
    Alexandro Colorado Guest

  7. #6

    Default Re: installing GD for php

    pixelsoul wrote:
    > Why does it seem to be difficult to install GD for PHP?
    GD is normally enabled by default in PHP installations on hosting
    companies. If you are running PHP on Windows, you need to enable GD in
    php.ini. Locate the following line:

    ;extension=php_gd2.dll

    Remove the semicolon from the beginning. Save php.ini, and restart your
    web server (Apache or IIS).

    --
    David Powers
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    Co-author "PHP Web Development with DW MX 2004" (Apress)
    [url]http://computerbookshelf.com[/url]
    David Powers Guest

  8. #7

    Default Re: installing GD for php

    I have tried uncommenting extension=php_gd2.dll in php.ini and I got an error:

    unknown(): Unable to load dynamic library'./php_gd2.dll' - The specified
    module could not be found.

    I thought I would get a more current version of GD so I installed 4.3.10 and
    same problem.

    I do not know where the php_gd2.dll is.

    Any ideas what that error is from?

    Thanks for the help by the way :)

    pixelsoul Guest

  9. #8

    Default Re: installing GD for php

    Thats easily remedied by doing the following:

    Open your php.ini file.

    search for:
    ; Directory in which the loadable extensions (modules) reside.
    extension_dir = "./"

    Once found change variable to look like so:
    extension_dir = "./ext"

    Make sure that you uncommented the extension extension=php_gd2.dll and restart
    your web server. You should be good to go then.

    by changing the loadable extensions directory to ./ext you will be able to
    uncomment any other extensions listed in the php.ini file due to the fact any
    extra nondefault extensions are stored there when using the installer.


    Master Ruthless Guest

  10. #9

    Default Re: installing GD for php

    I tried that and now I get same error except with different file path:

    unknown(): Unable to load dynamic library'./ext\php_gd2.dll' - The specified
    module could not be found.

    when I installed I used the php installed for windows from php.net
    I noticed it saying something about extensions not included. Could I install
    version 4.3.10 with out the GD extension?

    I did download php_gd2.dll from another site hoping that it was all I needed
    and I dropped it in php root directory but I had already changed the file path
    for extensions and it still did not work.

    pixelsoul Guest

  11. #10

    Default Re: installing GD for php

    You might want to look into the .zip package that contains more extensions plus the one your looking for.
    Master Ruthless Guest

  12. #11

    Default Re: installing GD for php

    usually is under /php/extensions/php_gd2.dll
    you can download from here:
    [url]http://www.boutell.com/gd/faq.html[/url]

    On Wed, 30 Mar 2005 04:22:50 +0000 (UTC), pixelsoul
    <webforumsuser@macromedia.com> wrote:
    > I have tried uncommenting extension=php_gd2.dll in php.ini and I got an
    > error:
    >
    > unknown(): Unable to load dynamic library'./php_gd2.dll' - The specified
    > module could not be found.
    >
    > I thought I would get a more current version of GD so I installed
    > 4.3.10 and
    > same problem.
    >
    > I do not know where the php_gd2.dll is.
    >
    > Any ideas what that error is from?
    >
    > Thanks for the help by the way :)
    >


    --
    Alexandro Colorado
    ------------------------------
    Support Engineer
    InterAKT Online
    [url]http://www.interaktonline.com[/url]
    Tel: 40(21) 312.5312
    Alexandro Colorado Guest

  13. #12

    Default Re: installing GD for php

    Master Ruthless wrote:
    > Once found change variable to look like so:
    > extension_dir = "./ext"
    That won't work on Windows. Assuming that PHP has been installed in
    C:\php, it needs to be changed to:

    extension_dir = "C:\php\ext"

    That's the correct path for PHP 5. If I remember correctly, extensions
    in PHP 4 are in a folder called extensions. So, in the case of PHP 4, it
    would be:

    extension_dir = "C:\php\extensions"

    --
    David Powers
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    Co-author "PHP Web Development with DW MX 2004" (Apress)
    [url]http://computerbookshelf.com[/url]
    David Powers Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139