dynamic png not working

Chris Cortese cortese.consulting at gmail.com
Sun Mar 15 19:46:20 MSK 2009


thx for the ideas and you're right, not an nginx issue.  Not sure what 
was exactly the final step but I did need to clean up some of php's 
config options.

Glen Lumanau wrote:
> Build your php --with-gd and --with-png-dir
>
> Make sure you have install png library
>
> ------Original Message------
> From: Cliff Wells
> Sender: owner-nginx at sysoev.ru
> To: nginx at sysoev.ru
> ReplyTo: nginx at sysoev.ru
> Subject: Re: dynamic png not working
> Sent: Mar 15, 2009 10:46 PM
>
> On Sun, 2009-03-15 at 08:33 -0700, Chris Cortese wrote:
>   
>> I just noticed on one of my sites that my php script that calls 
>> header("Content-type: image/png") and imagepng(), etc., is not creating 
>> a png image.  This was working before but I've not only switched to 
>> nginx from Apache, I've also switched to a new server, new build of PHP, 
>> etc...
>>
>> Do I need to do something special with the nginx config to make this happen?
>>     
>
>
> Your problem is almost certainly related to directory permissions or a
> missing PHP library.
>
> Cliff
>
>
>
>
> Best Regards,
>
> Glen Lumanau
> -
> Sent from my BlackBerry®
>   






More information about the nginx mailing list