PDA

View Full Version : turing number image help



whistler
08-10-2007, 05:41 PM
Does anyone know what module, etc. is needed for this turing number to work? ImageMagick is installed. We don't have detailed specs.

http://contract7.com/register.php

Any input would be appreciated.

ljweb
08-12-2007, 03:33 AM
Perhaps it requires GD and its not there?

whistler
08-12-2007, 05:49 AM
GD is installed.

smtalk
08-12-2007, 06:37 AM
You need both GD and Freetype support built into php.

whistler
08-12-2007, 07:50 PM
Freetype is installed too - still no image.

smtalk
08-13-2007, 02:07 AM
Please post an output of:


cat /usr/local/directadmin/customapache/configure.php

whistler
08-13-2007, 09:41 AM
Please post an output of:


cat /usr/local/directadmin/customapache/configure.php


#!/bin/sh
./configure \
--with-apxs \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-gd \
--with-gd-dir=/usr/local/lib \
--with-freetype \
--with-freetype-dir=/usr/lib \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--with-openssl \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit \
--with-dom=/usr/lib \
--with-dom-exslt=/usr/lib \
--with-dom-xslt=/usr/lib

nobaloney
08-13-2007, 10:13 AM
--with-gd \
--with-gd-dir=/usr/local/lib \
--with-freetype \
--with-freetype-dir=/usr/lib \
Is your install of gd at /usr/local/lib?

Is your install of freetype at /usr/lib?

Jeff

whistler
08-13-2007, 11:34 AM
Is your install of gd at /usr/local/lib?

Is your install of freetype at /usr/lib?

Jeff

It looks like both are in /usr/local/lib. Should I edit configure.php?

smtalk
08-13-2007, 12:22 PM
It's okay if you compiled it from the source. Make sure that you do:
./build clean

Before:
./build php n

whistler
08-14-2007, 01:58 PM
It's okay if you compiled it from the source. Make sure that you do:
./build clean

Before:
./build php n

This has been done as well. Still no image.

I'm wondering if another module like ImageMagick is missing. What are some of the Image** modules that it might need like ImageWrite...?

nobaloney
08-16-2007, 11:30 AM
Have you tried changing the freetype directory?

Jeff

whistler
08-16-2007, 11:48 AM
We've installed it in both directories.

smtalk
08-16-2007, 03:37 PM
You can try custombuild, freetype and GD settings are included.