Re: [PHP] 1. ImageTTFBox not working and 2. System command

2002-04-27 Thread heinisch

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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] 1. ImageTTFBox not working and 2. System command

2002-04-27 Thread Remek

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.

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.

Remek



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php