CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 GD2 on IIS

Print topic Send  topic

Author Message
Damian
Posted: 06/23/2004, 11:50 PM

Anyone have trouble getting GD2 (PHP) to work on IIS?

Taris


Posts: 18
Posted: 06/24/2004, 1:42 AM

Hi Damian,
it was not an IIS but Apache on a WIN-NT Server with GD2,
on some operations the system would crash and I could not
pinpoint the Problem. It has not occured for some time since I
changed my function to generate Thumbnails, but I do not
exactly know if that was really the solution.

What can happen that an imageoperation uses more RAM and CPU- Time than is granted by the php.ini so if you increase the values of the
max_execution_time it could work better

If the error occurs during uploads try to change these values:
post_max_size
upload_max_filesize


OK I do not know where to set this but it works on "Apache / Debian", maybe there is a simular solution possible:
Somewhere must be a setting that determins how much RAM can be used by a PHP-page, if that RAM is not enough to handel intensive Operations => <bad word>XXX</bad word> ;-)

Hope that this helped you (though my hints where for a different server)
View profile  Send private message
Damian
Posted: 06/24/2004, 4:24 AM

Thanks Taris,

I will check on the CPU/Mem utilisation and increase timeouts, however I
dont think that this is my particular issue. My thumbnail script just doesnt
seem to run. Same code that works on my Linux/Apache server, doesnt work on
the W2k/IIS...

Damian

"Taris" <Taris@forum.codecharge> wrote in message
news:540da93f778de0@news.codecharge.com...
> Hi Damian,
> it was not an IIS but Apache on a WIN-NT Server with GD2,
> on some operations the system would crash and I could not
> pinpoint the Problem. It has not occured for some time since I
> changed my function to generate Thumbnails, but I do not
> exactly know if that was really the solution.
>
> What can happen that an imageoperation uses more RAM and CPU- Time than is
> granted by the php.ini so if you increase the values of the
> max_execution_time it could work better
>
> If the error occurs during uploads try to change these values:
> post_max_size
> upload_max_filesize

>
> OK I do not know where to set this but it works on "Apache / Debian",
maybe
> there is a simular solution possible:
> Somewhere must be a setting that determins how much RAM can be used by a
> PHP-page, if that RAM is not enough to handel intensive Operations =>
<bad
> word>XXX</bad word> ;-)
>
> Hope that this helped you (though my hints where for a different server)
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Last Hero
Posted: 06/24/2004, 6:12 AM

What SAPI do you use?
Don Safar
Posted: 06/24/2004, 10:36 AM

I am using the gd library on windows 2000 server with php 4 to do dynamic
thumbnail creation and it works fine. Go to http://www.insights-web.com and
under sample apps click on icg php real estate script. The photos displayed
are all dynamically resized using the gd library.

<LastHero@forum.codecharge (Last Hero)> wrote in message
news:540dad33247b34@news.codecharge.com...
> What SAPI do you use?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.