[Typo3-debian] Debian PHP4-GD2 without gif support, what can i do?
Alexander Schories
alexander at schories.com
Thu Jul 1 00:43:33 CEST 2004
> -----Ursprüngliche Nachricht-----
> Von: typo3-debian-bounces at lists.netfielders.de
> [mailto:typo3-debian-bounces at lists.netfielders.de] Im Auftrag
> von Michael Stucki
> Gesendet: Mittwoch, 30. Juni 2004 23:31
> An: typo3-debian at lists.netfielders.de
> Betreff: RE: [Typo3-debian] Debian PHP4-GD2 without gif
> support, what can i do?
>
> Alexander,
>
> >> > http://www.schories.com/typo3_problems.jpg
> >>
> >> I looked at it. To me this looks like you tried absolutely nothing
> >> yet!
> >
> > Useless and therefore stupid answer. Maybe you should post
> only when
> > you
> > *are* in a good mood. Please be polite and don`t accuse
> just in your
> > first sentence without detailled knowledge, what *really*
> has been tried here.
>
> In the last two years there have been so many people who all
> "tried everything" while their solution was on Googles first
> result page. I have become very sceptic and independing of
> what you wrote above...
In german we call this: "Generalverdacht" - a prejudice.
>
> >> - The large font is caused by a wrong TTFdpi setting
> >
> > I know, some mintues after i mailed the list i changed it to 96dpi.
> > But as i wrote, the size wasn`t and isn`t the real problem.
>
> ...this confirms for me why I think you didn't try hard enough!
I say it once again: It was fixed immediately after my posr AND it has
NOTHING to do with the GRAPHIC ERRORS itself.
>
> > So i feel, like i tried a lot, altogether it took me
> several hours. I
> > will even try more. In some ours - after sleep - i will try
> to compile
> > a fitting package on my own. Maybe i will not succeed, at
> least i do try.
>
> You don't need that. It works fine on Sarge, I use it here!
Really? Please give me more details: Which libs do you use exactly
(libgd2-xpm 2.0.??? , etc)? Which kind of php4 - module or cgi?
>
> >> I'm sure this will fix most of your problems!
> >
> > Well, dear Michael, i am sure that accusing posts are no helping
> > answers at all. To be honest, i expected more from a
> typo3-guru like you.
>
> >From my point of view you are just annoyed because I didn't
> reply your
> private requests!
Wow, you are obviously very self centered. Before I new about this list, i
*dared* to write you an email, because your email *is listed nearly
everywhere on the typo3 page, even in the download*! But it seems know why
now - maybe it`s just for advertising your capabilities for possible
clients...
To express it truthfully to the public:
Yes, I confess: I mailed you on 14.06.2004, 22.06.2004 and for the last time
on 28.06.2004, because i hoped to find direct help and you answered my
simple question politely. You asked me to use the mailing list - i do so
and, since my first mail there, i do not mailed you ever again!
I am really sorry for asking msybe difficult questions here, which you do
not like or cannot answer serious. I am sorry as well for disturbing you and
maybe more your business (as stated in your last email..) - see, i just
didn`t realise that you maybe probably mention your email and name all over
this site only for promotion.
>
> <off-topic but think about it!>
> First, you sent a private mail with a question to me.
> Politely, I replied and politely, I pointed you to the mailing list.
>
> Your next question arrived by private mail again. I replied
> and wrote you once more that you should now move to this list.
>
> You replied with an excuse and another question, and after I
> pointed to the list again you asked me how the list can
> actually be used!
>
> Your last private mail was not replied but simply deleted.
> </off-topic>
>
> When I think about this then I think that you are just too
> lazy to search on your own, so tell me please why I should
> roll out the red carpet when you post a question!
Pardon me: Nobody *forced* you to answer, right?
But *IF* you answer here, try to *help* people - do not tell them about your
prejudices...
>
> Of course we can try to solve your problem but let's first
> try do this step by step and the ordinary way: Post a link to
> phpinfo() and skip all sorts of flames, please.
Dear Michael, it is not at all my style to "flame". But i really feel sad
and injured about your prejudice! You only know my name and email, no more.
How can you put me or anybody out there into "your categories"? And if you
think to do so, does it make sense to you posting such nonsense intead of
helping solutions?
In all your lines above, again no topic-been based help.
However, i will forget about that. Let`s have a new start.
>
> > See, if it works fine for *you* on *your* system - thats great.
> > However, it does not work at least on my Debian Sarge
> (testing,i386).
> > I can live without typo3 and for you it surely might be
> uninteresting
> > at all whether it works for me or not - but *maybe* you are
> at least
> > interested to find out, whether this could hit every debian
> sarge i386
> > user with latest packages installed.
>
> Again: I use TYPO3 on Sarge with no other components (except
> IM 4.2.9) and it WORKS!
This gives me hope. :)
However, i am using debian sarge as well. But let's compare the details: I
use php 4.3.4 as an apache2(prefork) module with php4-gd. Tried with
php4-gd2 as well. But even php4-gd, if you look into the package depencies,
in fact uses libgd2-xpm, not libgd(1) like one might expect. libgd2-xpm is
2.0.23-2, but i tried even with older (as mentioned in my last mail list
post).
Here my "phpinfo"
------------8<---------------
PHP Version 4.3.4
System Linux *****.** 2.4.26-1-686-smp #1 SMP Sat May 1 19:17:11 EST 2004
i686
Build Date Mar 27 2004 07:53:06
Configure Command '../configure' '--prefix=/usr'
'--with-apxs2=/usr/bin/apxs2' '--with-regex=php'
'--with-config-file-path=/etc/php4/apache2' '--disable-rpath'
'--enable-memory-limit' '--disable-debug' '--with-layout=GNU'
'--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem'
'--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid'
'--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv'
'--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext'
'--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop'
'--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr'
'--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr'
'--with-openssl=/usr' '--with-exec-dir=/usr/lib/php4/libexec'
'--disable-static' '--with-curl=shared,/usr' '--with-dom=shared,/usr'
'--with-dom-xslt=shared,/usr' '--with-dom-exslt=shared,/usr'
'--with-zlib-dir=/usr' '--with-gd=shared,/usr' '--enable-gd-native-ttf'
'--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6'
'--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr'
'--with-imap=shared,/usr' '--with-imap-ssl' '--with-ldap=shared,/usr'
'--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--without-mm'
'--with-mysql=shared,/usr' '--with-unixODBC=shared,/usr'
'--with-recode=shared,/usr' '--enable-xslt=shared'
'--with-xslt-sablot=shared,/usr' '--with-snmp=shared'
'--enable-ucd-snmp-hack' '--with-sybase-ct=shared,/usr'
'--with-ttf=shared,/usr' '--with-t1lib=shared,/usr'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php4/apache2/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2,
compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies with Zend
Extension Manager v1.0.1, Copyright (c) 2003, by Zend Technologies with Zend
Optimizer v2.5.3, Copyright (c) 1998-2004, by Zend Technologies
----------------------------------------------------------------------------
----
PHP Credits
----------------------------------------------------------------------------
----
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir /usr/lib/php4/20020429 /usr/lib/php4/20020429
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/php:/usr/share/pear
.:/usr/share/php:/usr/share/pear
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 120 120
max_input_time 180 180
memory_limit 256M 256M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 50M 50M
precision 12 12
register_argc_argv On On
register_globals Off Off
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 50M 50M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
apache2handler
Apache Version Apache/2.0.49 (Debian GNU/Linux) PHP/4.3.4 mod_ssl/2.0.49
OpenSSL/0.9.7d
Apache API Version 20020903
Server Administrator [no address given]
Hostname:Port www.*****.**:0
User/Group www-data(33)/33
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Virtual Server Yes
Server Root /etc/apache2
Loaded Modules core mod_access mod_auth mod_log_config mod_logio mod_env
mod_setenvif prefork http_core mod_mime mod_status mod_autoindex
mod_negotiation mod_dir mod_userdir mod_alias mod_so mod_actions mod_cgid
mod_deflate mod_headers mod_info mod_mime_magic sapi_apache2 mod_rewrite
mod_ssl mod_suexec
Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */*
HTTP_ACCEPT_LANGUAGE de
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.1.4322)
HTTP_HOST www.*****.***
HTTP_CONNECTION Keep-Alive
PATH /sbin:/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE no value
SERVER_SOFTWARE Apache/2.0.49 (Debian GNU/Linux) PHP/4.3.4 mod_ssl/2.0.49
OpenSSL/0.9.7d
SERVER_NAME www.*****.**
SERVER_ADDR ***.***.***.***
SERVER_PORT 80
REMOTE_ADDR 80.131.90.19
REMOTE_PORT 65303
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /_phpinfo/
SCRIPT_NAME /_phpinfo/index.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /_phpinfo/ HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */*
Accept-Language de
Accept-Encoding gzip, deflate
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.1.4322)
Host www.*****.**
HTTP Response Headers
X-Powered-By PHP/4.3.4
bcmath
BCMath support enabled
bz2
BZip2 Support Enabled
BZip2 Version 1.0.2, 30-Dec-2001
calendar
Calendar support enabled
ctype
ctype functions enabled
curl
CURL support enabled
CURL Information libcurl/7.11.2 OpenSSL/0.9.7d ipv6 zlib/1.2.1.1
dba
DBA support enabled
Supported handlers cdb cdb_make db4 inifile flatfile
domxml
DOM/XML enabled
DOM/XML API Version 20020815
libxml Version 20610
HTML Support enabled
XPath Support enabled
XPointer Support enabled
DOM/XSLT enabled
libxslt Version 1.1.7
libxslt compiled against libxml Version 2.6.10
DOM/EXSLT enabled
libexslt Version 1.1.2
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.118.2.25 2003/09/22 23:28:07 iliaa Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
ftp
FTP support enabled
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
gettext
GetText Support enabled
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.3.2
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
imap
IMAP c-Client Version 2001
SSL Support enabled
Kerberos Support enabled
mbstring
Multibyte Support enabled
Multibyte (japanese) regex support enabled
mbstring extension makes use of "streamable kanji code filter and
converter", which is distributed under the GNU Lesser General Public License
version 2.1.
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.substitute_character no value no value
mcal
MCAL Support enabled
MCAL Version 0.6 - 20000121
mysql
MySQL Support enabled
Active Persistent Links 1
Active Links 1
Client API version 3.23.56
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
odbc
ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library unixODBC
ODBC_INCLUDE -I/usr/include
ODBC_LFLAGS -L/usr/lib
ODBC_LIBS -lodbc
Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.7d 17 Mar 2004
overload
User-Space Object Overloading Support enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 4.5 01-December-2003
posix
Revision $Revision: 1.51.2.2 $
recode
Recode Support enabled
Revision $Revision: 1.29.2.1 $
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php4 /var/lib/php4
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
shmop
shmop support enabled
sockets
Sockets Support enabled
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset=
a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
tokenizer
Tokenizer Support enabled
wddx
WDDX Support enabled
WDDX Session Serializer enabled
xml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.6
xslt
XSLT support enabled
Backend Sablotron
Sablotron Version 1.0
yp
YP Support enabled
zlib
ZLib Support enabled
Compiled Version 1.2.1
Linked Version 1.2.1.1
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
filepro
sysvsem
sysvshm
Environment
Variable Value
SHELL /bin/bash
TERM xterm
SSH_CLIENT 80.131.90.19 64759 22
SSH_TTY /dev/pts/0
USER root
PATH /sbin:/bin:/usr/sbin:/usr/bin
MAIL /var/mail/root
PWD /root
LANG de_DE at euro
HOME /root
SHLVL 2
LOGNAME root
SSH_CONNECTION 80.131.90.19 64759 ***.***.***.*** 22
_ /usr/sbin/apache2
PHP Variables
Variable Value
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] de
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; .NET CLR 1.1.4322)
_SERVER["HTTP_HOST"] www.*****.**
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["PATH"] /sbin:/bin:/usr/sbin:/usr/bin
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.0.49 (Debian GNU/Linux) PHP/4.3.4
mod_ssl/2.0.49 OpenSSL/0.9.7d
_SERVER["SERVER_NAME"] www.*****.**
_SERVER["SERVER_ADDR"] ***.***.***.***
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 80.131.90.19
_SERVER["DOCUMENT_ROOT"] /srv/www/*****.**
_SERVER["SERVER_ADMIN"] [no address given]
_SERVER["SCRIPT_FILENAME"] /srv/www/*****.**/_phpinfo/index.php
_SERVER["REMOTE_PORT"] 65303
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /_phpinfo/
_SERVER["SCRIPT_NAME"] /_phpinfo/index.php
_SERVER["PHP_SELF"] /_phpinfo/index.php
_SERVER["PATH_TRANSLATED"] /srv/www/*****.**/_phpinfo/index.php
_SERVER["argv"] Array
(
)
_SERVER["argc"] 0
_ENV["SHELL"] /bin/bash
_ENV["TERM"] xterm
_ENV["SSH_CLIENT"] 80.131.90.19 64759 22
_ENV["SSH_TTY"] /dev/pts/0
_ENV["USER"] root
_ENV["PATH"] /sbin:/bin:/usr/sbin:/usr/bin
_ENV["MAIL"] /var/mail/root
_ENV["PWD"] /root
_ENV["LANG"] de_DE at euro
_ENV["HOME"] /root
_ENV["SHLVL"] 2
_ENV["LOGNAME"] root
_ENV["SSH_CONNECTION"] 80.131.90.19 64759 ***.***.***.*** 22
_ENV["_"] /usr/sbin/apache
------------8<---------------
>
> Are you sure you use a pure Sarge or is it a mix of Sarge and Sid?
No, you are right, it`s not 100% pure sarge, it`s actually a mix
(80%testing/20%unstable).
However, apache2, php4, libgd2-xpm etc. and all modules and submodules are
sarge ones. This *could* be still an "unstable" problem, i know.
Thank you honestly,
Alexander
>
> - michael
> --
> Want support? Please read the list rules first:
> http://typo3.org/1438.0.html
> _______________________________________________
> Typo3-debian mailing list
> Typo3-debian at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-debian
More information about the TYPO3-debian
mailing list