Fagner 1 Denunciar post Postado Junho 25, 2009 Boa tarde... Olha só compilei o php com suporte a gd, no phpinfo() esta aparecendo que ta com suporte ativo. porem ao tentar criar uma thumb da o seguinte erro: Call to undefined function imagecreatefromjpeg() in segue meu ./configure:: ./configure \ '--prefix=/usr/local/php5' \ '--disable-cgi' \ '--with-zlib-dir=/usr/src/zlib-1.2.3/' \ '--with-gd' \ '--with-jpeg' \ '--with-config-file-path=/etc/php/' \ '--with-apxs2=/usr/local/apache2/bin/apxs' \ '--with-mysql=/usr/local/mysql' \ '--with-mysql-sock=/tmp/mysql.sock' \ '--with-oci8=instantclient,/usr/local/instantclient_11_1/' phpinfo() gd GD Support enabled GD Version bundled (2.0.34 compatible) GIF Read Support enabled GIF Create Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled Alguém pode me dar uma luz?!?? Abraços.. Compartilhar este post Link para o post Compartilhar em outros sites
hgb7 3 Denunciar post Postado Junho 25, 2009 JPG ? :) Compartilhar este post Link para o post Compartilhar em outros sites
Fagner 1 Denunciar post Postado Junho 26, 2009 pois é, essa porquera nao ta sendo ativada.. alguem tem ideia do pq?? compilei a libjpeg dentro se /usr/src/jpeg-6b Compartilhar este post Link para o post Compartilhar em outros sites
hinom 5 Denunciar post Postado Junho 27, 2009 como você compiliou o jpeg6b ? no red hat mantenho assim: ./configure --prefix=/usr --enable-static --enable-shared && make && make install aconselho a compilar também o "FREETYPE 2.3.7" ants do jpeg ./configure --with-pic CC= CFLAGS="-O2" make && make install obs: as versões dependem do suporte do SO que está usando, tal como suas dependências compilando o GD: ./configure --with-jpeg-dir==/usr/lib/ --with-png-dir==/usr/local/lib/ --with-freetype-dir==/usr/local/lib/ make && make install WITH_XPM=yes WITHOUT_X11=yes compilei a libjpeg dentro se /usr/src/jpeg-6ba julgar pela nomenclatura do path, esse é o caminho do source.você precisa certificar-se sobre o caminho foi instalado. Geralmente em /usr/lib/ ou /usr/local/lib/ movido PHP http://forum.imasters.com.br/public/style_emoticons/default/seta.gif Linux Compartilhar este post Link para o post Compartilhar em outros sites