RE: [PHP] GD & PHP

This is a discussion on RE: [PHP] GD & PHP within the PHP General forums, part of the PHP Programming Forums category; Try to add --with-jpeg, but probably you need to install some libraries, like libjpeg (http://freshmeat.net/projects/libjpe......


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-28-2003
Javier Tacon
 
Posts: n/a
Default RE: [PHP] GD & PHP


Try to add --with-jpeg, but probably you need to install some libraries, like libjpeg (http://freshmeat.net/projects/libjpe...c_id=105%2C809)



-----Mensaje original-----
De: Mike At Spy [mailto:spycobalt@spyproductions.com]
Enviado el: jueves, 28 de agosto de 2003 18:22
Para: Javier Tacon; php-general@lists.php.net
Asunto: RE: [php] GD & PHP



I get an error about png libraries not found, though my configure line only
adds --with-gd to it from my previous configure (pretty recent). Do I need
png and/or some sort of jpeg libraries installed first?

I don't mention png in my configure line:

../configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gettext=/usr --e
nable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin
--with-zlib --enable-magic-quotes --with-regex=system --with-ttf --with-dba
--with-gdbm --enable-mbstring --enable-mbstr-enc-trans --enable-track-vars -
-enable-wddx=shared --enable-mm=shared --enable-xml --enable-ftp --disable-d
ebug --with-libdir=/usr/lib --with-db3 --with-interbase=shared --with-pgsql=
shared --with-ldap --with-pdflib=shared --with-mcrypt --with-gd

Thanks,

-Mike



> -----Original Message-----
> From: Javier Tacon [mailto:javier.tacon@private.com]
> Sent: Thursday, August 28, 2003 11:33 AM
> To: Mike At Spy; php-general@lists.php.net
> Subject: RE: [php] GD & PHP
>
>
>
> You need to compile PHP with the option --with-gd in the configure step.
>
> The function is imagecreatefromjpeg()
>
>
> -----Mensaje original-----
> De: Mike At Spy [mailto:spycobalt@spyproductions.com]
> Enviado el: jueves, 28 de agosto de 2003 17:32
> Para: php-general@lists.php.net
> Asunto: [php] GD & PHP
>
>
>
> Is there anything special I have to do to enable GD when using PHP 4.3.2?
>
> I'm getting an error of:
>
> Fatal error: Call to undefined function: imagecreatefromjpeg() in
> /home/sites/site37/web/photos/functions.php on line 594
>
> When I use the imagecreatefromjpeg() function. Is it not usable with gd?
> Should I be using imagecreatefromgd()?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:29 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0