For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > December 2004 > Installing GD-Lib on Win/IIS => PHP "dead"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

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

2004-12-30, 8:56 am

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\extensions
- set the extensions-folder in php.ini to C:\PHP\extensions
- remove the ";" before the php_gd2.dll-inclusion in the php.ini-file
- I even added C:\PHP\extension 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

2004-12-30, 8:56 am

The reason is that PHP fail to startup.
Your extensions-dir is not correctly installed. Check
http://www.macromedia.com/devnet/mx...es/php_iis.html


"Paul Schmidinger" <my.email.is.on@my.website.eigelb.at> wrote in message
news:cr0hg8$oon$1@news.hispeed.ch...
> 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\extensions
> - set the extensions-folder in php.ini to C:\PHP\extensions
> - remove the ";" before the php_gd2.dll-inclusion in the php.ini-file
> - I even added C:\PHP\extension 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
>
>



Paul Schmidinger

2004-12-30, 8:56 am

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...
> The reason is that PHP fail to startup.
> Your extensions-dir is not correctly installed. Check
> http://www.macromedia.com/devnet/mx...es/php_iis.html



Paul Schmidinger

2004-12-30, 8:56 am

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...


Paul Schmidinger

2004-12-30, 3:56 pm

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

Thanks everybody,
Paul


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com