RE: PHP3 with GD support
I find a solution: compile a new version of gd.so! In short terms, a wrote: cd /usr/src apt-get source php3 cd php ./configure --with-gd --with-jpeg-dir=/usr/include --with-ttf=/usr/include/freetype make(<-- this is optional, I suppose) mkdir apache cd apache gcc -g -O2 -shared -fPIC -DCOMPILE_DL=1 -I.. -I. -I/usr/include/apache-1.3 -I/usr/include/freetype -o gd.so ../functions/gd.c ../functions/gdcache.c ../functions/gdttf.c -lgd -lttf -lc mv gd.so /usr/lib/php3/apache This generate a new version of gd.so with png,jpeg & truetype support. You can look a example at: http://www.pucela.com/php/text1.php3 And with a little work I succeed to compile a version with libgd-gif support plus (added -lgd-gif to gcc and #define HAVE_GD_GIF 1 to config.h) ---8<--- / Asesora y Proveedora [EMAIL PROTECTED] \ de Servicios de Internet, S.L. [EMAIL PROTECTED] ---8<--- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: RV: PHP3 with GD support
On Sat, 23 Dec 2000, Aprosi SL wrote: > I upgrade to: > > php3 v3:3.0.18-5, > apache 1.3.12-2.1 ... problem is, under Debian 2.2, php(3/4) will only work with apache < 1.3.9 :(( I've never bothered to go and dig out the reasons why, but I had this problem too -- and had to downgrade to apache 1.3.9 to retain compatibility with the current release. (But you can find a version of php pre-compiled for you against 1.3.12 at http://kde.tdyc.com/). HTH -- Martin Wheeler -StarTEXT - Glastonbury - BA6 9PH - England [1] [EMAIL PROTECTED] http://www.startext.co.uk/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RV: PHP3 with GD support
Never one use APACHE+PHP+GD What is the reason for not to include GD support at libphp3 (apache module) ??? With php3-gd??? how??? ---8<--- / Asesora y Proveedora [EMAIL PROTECTED] \ de Servicios de Internet, S.L. [EMAIL PROTECTED] ---8<--- -Mensaje original- De: Joaquin Ferrero [mailto:[EMAIL PROTECTED]] Enviado el: martes, 28 de noviembre de 2000 23:06 Para: [EMAIL PROTECTED] Asunto: PHP3 with GD support I upgrade to: php3 v3:3.0.18-5, apache 1.3.12-2.1 libgd-gif1 1.3-2 and libgd1 1.8.3-6 but only can get PHP 3 Warnings: ImagePng: No PNG support in this PHP build in /var/www//php/text1.php3 on line 8 and no gif, jpeg and TTF support. phpinfo() show: Configure command: ../configure '--with-apxs=/usr/bin/apxs' '--disable-debug' '--with-filepro' '--with-config-file-path=/etc/php3/apache' '--with-zlib' '--without-gd' '--enable-sysvsem' '--enable-sysvshm' '--with-yp' ^^ '--with-gettext' '--with-ftp' then... where is the GD support? It is removed!!! ---8<--- / Asesora y Proveedora [EMAIL PROTECTED] \ de Servicios de Internet, S.L. [EMAIL PROTECTED] ---8<--- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: PHP3 with GD support
Joaquin Ferrero wrote: > php3 v3:3.0.18-5, > apache 1.3.12-2.1 > libgd-gif1 1.3-2 and > libgd1 1.8.3-6 > > but only can get PHP 3 Warnings: > > ImagePng: No PNG support in this PHP build in /var/www//php/text1.php3 on > line 8 You need to install the "php3-gd" package as well. Cheers, Remco. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
PHP3 with GD support
I upgrade to: php3 v3:3.0.18-5, apache 1.3.12-2.1 libgd-gif1 1.3-2 and libgd1 1.8.3-6 but only can get PHP 3 Warnings: ImagePng: No PNG support in this PHP build in /var/www//php/text1.php3 on line 8 and no gif, jpeg and TTF support. phpinfo() show: Configure command: ../configure '--with-apxs=/usr/bin/apxs' '--disable-debug' '--with-filepro' '--with-config-file-path=/etc/php3/apache' '--with-zlib' '--without-gd' '--enable-sysvsem' '--enable-sysvshm' '--with-yp' ^^ '--with-gettext' '--with-ftp' then... where is the GD support? It is removed!!! ---8<--- / Asesora y Proveedora [EMAIL PROTECTED] \ de Servicios de Internet, S.L. [EMAIL PROTECTED] ---8<--- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]