Re: How to Install PHP 3.0.16 / 4.0.3pl1 with GD support ??

From: Date: Wed, 18 Oct 2000 20:10:43 +0000
Subject: Re: How to Install PHP 3.0.16 / 4.0.3pl1 with GD support ??
Groups: php.general php.install 
Request: Send a blank email to php-general+get-20974@lists.php.net to get a copy of this message
Hi I thought gd was part of the latest version, I was convinced but now not so sure. I would not use rpms for the gd libary anyway - from source is best. I'm sure its in the source now for th latest version - in fact it is here you are - installed using this script: http://213.165.144.130/info.php you will see gd there about half way down the page I use a script, add and play around with it if you find this useful. Cheers Tony PS Use with my compliments - Please leave the copyright #!/bin/bash # # Author: Anthony Turner # # Copyright Hotchilli Internet Solutions # # To Install Apache 1.3.12 / PHP4 /MySQL 3.2.32/OpenSSL and Mod_ssl # rpm -e php rpm -e mod_perl rpm -e apache rm -f -r /usr/local/apache rm -f -r /usr/local/mysql rm -f -r /usr/local/ssl cd src/ rm -f -r mysql-3.22.32 rm -f -r apache_1.3.12 rm php-4.0.3pl1 rm -f -r openssl-0.9.5a rm -f -r mod_ssl-2.6.4-1.3.12 gunzip < mysql-3.22.32.tar.gz | tar xvf - cd .. cd /home/HOTspecial/src/mysql-3.22.32/ ./configure --prefix=/usr/local/mysql make make install scripts/mysql_install_db /usr/local/mysql/bin/safe_mysqld & cd .. gunzip < apache_1.3.12.tar.gz | tar xvf - cd /home/HOTspecial/src/apache_1.3.12 ./configure --prefix=/usr/local/apache cd .. tar zxvf php-4_0_3pl1_tar.tar cd /home/HOTspecial/src/php-4.0.3pl1 ./configure --with-mysql=/usr/local/mysql \ --with-xml \ --with-apache=../apache_1.3.12 \ --enable-track-vars make make install cp php.ini-dist /usr/local/lib/php.ini cd .. gunzip < openssl-0.9.5a.tar.gz | tar xvf - cd /home/HOTspecial/src/openssl-0.9.5a ./config --prefix=/usr/local/ssl \ make make test make install cd .. gunzip < mod_ssl-2.6.6-1.3.12.tar.gz |tar xvf - cd /home/HOTspecial/src/mod_ssl-2.6.6-1.3.12 ./configure --with-apache=../apache_1.3.12 cd .. cd /home/HOTspecial/src/apache_1.3.12 #SSL_BASE=../openssl-0.9.5a \ #RSA_BASE=../rsaref-2.0/local \ ./configure \ --enable-module=ssl \ --activate-module=src/modules/php4/libphp4.a \ --enable-module=php4 \ --prefix=/usr/local/apache \ --enable-shared=ssl make make certificate TYPE=custom make install cd /usr/local/apache/bin ./apachectl configtest ./apachectl start -----Original Message----- From: Sebastien MARAUX <smaraux@icemotion.com> To: php-install@lists.php.net <php-install@lists.php.net>; php-general@lists.php.net <php-general@lists.php.net> Date: 18 October 2000 20:37 Subject: [PHP] How to Install PHP 3.0.16 / 4.0.3pl1 with GD support ?? >Hello! > >During the configuration process, php can't find gd. >When I try to compile with: > >./configure --with-mysql=/usr/local --with-imap=/usr/local/ >--with-pgsql=/usr/local/pgsql --with-apxs=/home/httpd/a >pache1312/bin/apxs --enable-versioning --enable-track-vars >--with-config-file-path=/home/httpd/apache1312/php/ >--with-jpeg-dir=/usr/local/ --with-gd > >It writes: >checking for png_info_init in -lpng... no >checking for gdImageCreateFromPng in -lgd... no >checking for libjpeg (needed by gd-1.8+)... yes >checking for jpeg_read_header in -ljpeg... no >checking for gdImageCreateFromJpeg in -lgd... no >checking for gdImageCreateFromGif in -lgd... no >checking for gdImageLzw in -lgd... no >checking for gdImageColorResolve in -lgd... no >checking for gdImageString16 in -lgd... no >checking whether to include GD support... no >checking whether to include FreeType support... yes >configure: warning: No gd support found. Skipping FreeType Configuration > >My config: >Apache 1.3.12 (I don't think it wll be useful) >gd 1.8.3, zlib(last), png(last) & jpeg 1.0.8 libraries are all installed >via .rpm > >I also met the same difficulties with PHP 4.0.3pl1 > >Can Someone help? > >Please answer at smaraux@icemotion.com > >(or I will check the "archives" for new messages @ >marc.theaimsgroup.com) > >Thanks in advance > >Sebastien MARAUX. > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#20974) next »