Installing GD-Lib on Win/IIS => PHP "dead"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul Schmidinger

    Installing GD-Lib on Win/IIS => PHP "dead"

    Hello,

    I have a windows-IIS-Webserver running PHP 4.3.0. However, there is no
    GD-Lib, so I tried to install it.

    What I did is this:
    - copy the file php_gd2.dll (which I have from another win-webserver with
    working GD-Lib) to C:\PHP\extensio ns
    - set the extensions-folder in php.ini to C:\PHP\extensio ns
    - remove the ";" before the php_gd2.dll-inclusion in the php.ini-file
    - I even added C:\PHP\extensio n to the path-environment-variable

    And what happens is this:
    - PHP is completely "dead", there is no output, just endless waiting. Not
    even phpinfo() works
    - the webserver itself is fine, HTML-Files and images are sent to the
    browser correctly
    - as soon as I add the ";" in the php_gd2.dll-line in php.ini, PHP works
    fine again - but without GD-Lib, of course

    I spent quite some time searching in google for the solution, but I found
    nothing helpful...
    I'd grateful if someone could help me.

    Kind regards and thanks,
    Paul
    -- www.eigelb.at


  • J.M. Sjouken

    #2
    Re: Installing GD-Lib on Win/IIS => PHP "dead&quot ;

    The reason is that PHP fail to startup.
    Your extensions-dir is not correctly installed. Check



    "Paul Schmidinger" <my.email.is.on @my.website.eig elb.at> wrote in message
    news:cr0hg8$oon $1@news.hispeed .ch...[color=blue]
    > Hello,
    >
    > I have a windows-IIS-Webserver running PHP 4.3.0. However, there is no
    > GD-Lib, so I tried to install it.
    >
    > What I did is this:
    > - copy the file php_gd2.dll (which I have from another win-webserver with
    > working GD-Lib) to C:\PHP\extensio ns
    > - set the extensions-folder in php.ini to C:\PHP\extensio ns
    > - remove the ";" before the php_gd2.dll-inclusion in the php.ini-file
    > - I even added C:\PHP\extensio n to the path-environment-variable
    >
    > And what happens is this:
    > - PHP is completely "dead", there is no output, just endless waiting. Not
    > even phpinfo() works
    > - the webserver itself is fine, HTML-Files and images are sent to the
    > browser correctly
    > - as soon as I add the ";" in the php_gd2.dll-line in php.ini, PHP works
    > fine again - but without GD-Lib, of course
    >
    > I spent quite some time searching in google for the solution, but I found
    > nothing helpful...
    > I'd grateful if someone could help me.
    >
    > Kind regards and thanks,
    > Paul
    > -- www.eigelb.at
    >
    >[/color]


    Comment

    • Paul Schmidinger

      #3
      Re: Installing GD-Lib on Win/IIS =&gt; PHP &quot;dead&quot ;

      I read the page, but it gives me no information that I've not had before...!
      Any other ideas...?

      "J.M. Sjouken" <sjouken@iae.nl > schrieb im Newsbeitrag
      news:cr0jpf$mbb $1@voyager.news .surf.net...[color=blue]
      > The reason is that PHP fail to startup.
      > Your extensions-dir is not correctly installed. Check
      > http://www.macromedia.com/devnet/mx/...s/php_iis.html[/color]


      Comment

      • Paul Schmidinger

        #4
        Re: Installing GD-Lib on Win/IIS =&gt; PHP &quot;dead&quot ;

        I have one more but of information: I managed to install another extension
        (curl) -- there were no problems, so the extension-directory is OK.
        The problem ist just with the GD-Lib...


        Comment

        • Paul Schmidinger

          #5
          Re: Installing GD-Lib on Win/IIS =&gt; PHP &quot;dead&quot ;

          The problem is solved! I hade to change "permission s" for the php_gd2.dll.
          That was not necessary for some other extensions like e. g. curl -- strange.

          Thanks everybody,
          Paul


          Comment

          Working...