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

Re: Question about php3+GD

foka> You might get more response from debian-user, so you might want to ask there
foka> too.  :-)

Yes, I did. But no response. :-(

foka> But yeah, I do recall experiencing similar problems that you have.
foka> I don't remember the outcome though.  I was just experimenting and never
foka> really used PHP3 (PHP4) seriously.  Maybe in the future...  :-)

By the function phpinfo I found in the configure command for php3
'--without-gd' option is adopted. But even if I add dl("gd.so") in the 
script the function imagecreatefrompng() is still undefined. Do I have
to recompile php3 with the configure command '--with-gd' by myself?



foka> On Mon, Feb 05, 2001 at 04:41:12PM +0900, wen@japan.email.ne.jp wrote:
foka> > Hi,
foka> > I am a novice of php. When I call the function of imagecreatefromgif
foka> > or imagecreatefrompng, I get "Fatal error: Call to unsupported or 
foka> > undefined function imagecreatefromgif()(or imagecreatefrompng()).
foka> > Maybe function imagecreatefromgif was removed due to a patent problem
foka> > for GIF in version 3.0.16. But how about the function imagecreatefrompng()?
foka> > Does version 3.0.16 support it? TNX.
foka> > The following packages were installed in my potato box,
foka> > ii  php3           3.0.16-2potato A server-side, HTML-embedded scripting langu
foka> > ii  php3-cgi       3.0.16-2potato A server-side, HTML-embedded scripting langu
foka> > ii  php3-doc       3.0.16-2potato Documentation for PHP3
foka> > ii  php3-gd        3.0.16-2potato GD (graphic creation) module for PHP3 (apach
foka> > ii  php3-mysql     3.0.16-2potato Mysql module for PHP3 (apache)

| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.

Reply to: