0

Alguém conhece algum tutorial de instalação da GD Library?

criado por Argeu Carlos Thiesen em 17/06/2002 4:28pm
Nenhuma descrição foi enviada.

Lista de Respostas:

0
18/06/2002 6:31am
(~22 anos atrás)
no site do desenvolvedor tem as informações necessárias! www.boutell.com/gd

0
19/06/2002 12:55pm
(~22 anos atrás)
Qual a versão do SO

0
13/12/2002 9:03pm
(~21 anos atrás)
Eu baixei o GD no site, dei ./configure, depois make, depois make install

Ela instalou perfeitamente.... so q mesmo assim nao ta funcionando..
Qdo eu tento rodar um php q usa gd da a msg q a biblioteca nao ta instalada....

Tem q ter mais alguma coisa... com colocar alguma linha de comando no php.ini ou sei la....

SE ALGUEM SOUBER POR FAVOR ME DIGA!!!!!!!!!!!

0
20/01/2003 9:27pm
(~21 anos atrás)
Alan P. Carvalho respondeu:
Também estou com diculdades com a GD Library, alguém conhece um bom tutorial EM PORTUGUÊS?

valeu....

0
03/12/2003 8:18am
(~20 anos atrás)
Estou enviando esse roteiro q fiz completo, q inclui a GD:

Instalação Apache+PHP+GD (no FreeBSD 4.4)
------------------------

1. Instalar os pacotes (do CD do FreeBSD):

bash-2.05 [/usr/ports/shells/bash2]
freetype2-2.0.4 [/usr/ports/print/freetyp
gd-1.8.4_3 [/usr/ports/graphics/gd]
gettext-0.10.35 [/usr/ports/devel/gettext
gmake-3.79.1 [/usr/ports/devel/gmake]
jpeg-6b [/usr/ports/graphics/jpeg
lynx-2.8.4.1 [/usr/ports/www/lynx]
png-1.2.0 [/usr/ports/graphics/png]


2. Instalar os pacotes (diretório /usr/local/downloads):

pkg_add mysql-client-3.23.47.tgz
pkg_add mysql-server-3.23.47.tgz

Obs.: Os pacotes abaixos são requeridos durante a instalação do MySql:

p5-DBI-1.20.tgz
p5-Data-ShowTable-3.3.tgz
p5-Mysql-modules-1.2216.tgz


# Faca download dos seguintes pacotes:
#
# lynx ftp://ftp.apache.org/apache/dist/apache_1.3.27.tar.gz
# lynx http://br.php.net/distributions/php-4.1.1.tar.gz
# lynx http://prdownloads.sourceforge.net/libpng/zlib-1.1.4.tar.gz?use_mirror=easynews



# DesTARGeZipeie todos os pacotes:
#

1. tar xvfz apache_1.3.27.tar.gz
2.tar xvfz php-4.1.1.tar.gz
3. tar xvfz zlib-1.1.4.tar.gz



Installing libpng version 1.2.5 - October 3, 2002

Before installing libpng, you must first install zlib. zlib
can usually be found wherever you got libpng. zlib can be
placed in another directory, at the same level as libpng.
Note that your system might already have a preinstalled
zlib, but you will still need to have access to the
zlib.h and zconf.h include files that correspond to the
version of zlib that's installed.
You can rename the directories that you downloaded (they
might be called "libpng-1.2.5" or "lpng109" and "zlib-1.1.4"
or "zlib114") so that you have directories called "zlib" and "libpng".

Your directory structure should look like this:

.. (the parent directory)
libpng (this directory)
INSTALL (this file)
README
*.h
*.c
contrib
gregbook
msvctest
pngminus
pngsuite
visupng
projects
beos
borland
msvc
netware.txt
wince.txt
scripts
makefile.*
libpng*.in
pngtest.png
etc.
zlib
README
*.h
*.c
contrib
etc.



cd ../apache_1.3.27
./configure --prefix=/usr/local/apache
#
#
#
# Faca apenas isto e agora vah para o PHP
# Configure-o com as opcoes de sua necessidade, e instale:
#



cd ../php-4.1.1
rm config.cache
make clean
./configure' '--with-freetype-dir' '--with-gd=/usr/local/' '--enable-gd-native-ttf' '--with-freetype' '--with-png-dir=/usr/local/' '--with-jpeg-dir=/usr/local/' '--with-apache=../apache_1.3.27' '--enable-track-vars' '--with-zlib'
make
make install


#
#
# Volte novamente para o Apache e configure-o denovo incluindo as opcoes
# para incluir o modulo PHP e ativar o modulo SSL
#
cd ../apache_1.3.27
./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a
make
make install


#
# Copie o arquivo de configuracao do php para o /usr/local/lib/
#
cd ../php-4.1.1
cp php.ini-dist /usr/local/lib/php.ini
#
# Edite-o para fazer suas configuracoes
#
# Nao se esqueca tambem de editar o httpd.conf ou srm.conf e adicionar:

DirectoryIndex index.html index.php3 index.htm index.shtml index.phtml Index.html Index.htm Index.phtml index.php

AddType application/x-httpd-php .php .php3 .phtml .inc

# Substitua a linha:

Options Indexes FollowSymLinks MultiViews

para:

Options Indexes FollowSymLinks


#
# Para iniciar o servidor no modo seguro faca o seguinte
#
/usr/local/apache/bin/apachectl startssl
#
# ou se quiser iniciar soh o httpd faca:
#
/usr/local/apache/bin/apachectl stop (se já estiver rodando)
/usr/local/apache/bin/apachectl start


0
07/03/2004 9:21pm
(~20 anos atrás)
Gustavo Villa respondeu:
Dê uma olhadinha no artigo que escrevi...

http://www.phpbrasil.com/articles/article.php/id/756

0
20/05/2005 10:50am
(~19 anos atrás)
Fernando Lopes respondeu:
nussa....vazia um tempinho que procurava um roteiro assim sobre GD vieira ...huahauahuahua

Nova Resposta:

(Você pode usar tags como <b>, <i> ou <code>. URLs serão convertidas para links automaticamente.)