Re: 1. ImageTTFBox not working and 2. System command

From: Date: Sat, 27 Apr 2002 20:13:52 +0000
Subject: Re: 1. ImageTTFBox not working and 2. System command
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94942@lists.php.net to get a copy of this message
At 27.04.2002 18:59, you wrote:
Hi all, I have problem with TTF support on my vhost. PHP says it has no ttf support. The configure command is:
     './configure' '--prefix=/opt/php' '--enable-exif' '--with-apxs'
    '--enable-memory-limit=yes' '--enable-track-vars' '--enable-trans-sid'
    '--enable-wddx' '--enable-ftp'
    '--with-gd=../gd' '--enable-gd-imgstrttf' '--with-jpeg-dir' '--with-ttf'
    '--enable-gd-native-ttf' '--with-t1lib=/usr/lib'
    '--with-mysql=/usr/' '--with-png-dir'
    '--with-config-file-path=/etc/opt/httpd/'
    '--with-zlib' '--with-mhash' '--with-pdflib=/usr/lib/'
    '--enable-sysvsem' '--enable-sysvshm' '--enable-memory-limit'
and GD section of PHP Info looks like this:
    GD Support enabled
    GD Version 1.6.2 or higher
    T1Lib Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
anyone could help? Admin says that on their website TTF functions work fine.
Maybe I´m wrong, but in the past you have to compile and install the gd and other libraries first, before compiling php. Maybe this is the fault
Additionally, i'm execute a shell command (to create thumbnail with ImageMagick) but it does not do anything. The command is OK as it works by SSH.
use system() or passthru to wath eventually appearing error messages. Maybe the apache user has no rights to work with ImageMagic. But If you have gd, there´s no need to use IM.
Remek Oliver


« previous php.general (#94942) next »