NYCPHP Meetup

NYPHP.org

[nycphp-talk] AddType application/x-httpd-php .gif .jpg .etc

Andrew Yochum andrew at digitalpulp.com
Tue Mar 29 17:08:20 EST 2005


On Tue, Mar 29, 2005 at 04:48:55PM -0500, csnyder wrote:
> On Tue, 29 Mar 2005 16:08:38 -0500, Andrew Yochum <andrew at plexpod.com> wrote:
> > I'm
> > interested in the former - binaries.  Were you successful?  Any hiccups
> > or pointers?
> > 
> > Yeah, I'm probably crazy.
> > 
> 
> Like others I ask, why?
> 
> If you mean, just putting image binaries in place and running them
> through the PHP handler, it could work but will the right Content-Type
> header be sent? No, prolly not.
> 
> You could use an auto_prepend to handle headers. If you have an

Yeah, thats what I had in mind.  See my last post.

> accelerator in place it shouldn't be *that* much slower than Apache,
> although I would worry about memory usage on BIG images.

Hmph, good point.  Hadn't thought about the accelerators.  Might be able
to turn off the caching for some scripts?  I'm pretty sure Zend's can.

Andrew



More information about the talk mailing list