[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: php and ImageJpeg



On Fri, Aug 02, 2002 at 10:04:27AM +0200, Vinai Kopp wrote:
> On Thu, Aug 01, 2002 at 09:03:48PM -0400, Rick Pasotto wrote:
> > On Thu, Aug 01, 2002 at 05:25:08PM -0700, Expert User wrote:
> > > If a simple code like that is not working, I would suspect that
> > > your apache is not setup to use *.php files as php 'executables'.
> > > 
> > > Do you have a line like: AddType application/x-httpd-php .php
> > > .html .phtml .htm .php3
> > > 
> > > in your /etc/apache/httpd.conf file?
> > 
> > Of course. That's why I included the parenthetical stating that I
> > use php quite successfully for other things.
> > 
> > It's just *image* functions that don't work.
> 
> Hmm, have you installed libpng[23] and libjpeg62?
> 
> I think I remember that the php image functions didn't work on a box
> once where these libraries were missing.

Yes, they are installed.

# dpkg -l libpng[23] libjpeg62
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libpng2        1.0.12-3       PNG library - runtime
ii  libpng3        1.2.1-1.1      PNG library - runtime
ii  libjpeg62      6b-5           The Independent JPEG Group's JPEG runtime li

-- 
"Meetings are indispensable when you don't want to do anything."
		-- John Kenneth Galbraith
    Rick Pasotto    rickp@telocity.com    http://www.niof.net



Reply to: