gd Installation

Bash, Shell, PHP, Python, Perl, CGI
quicksilver
Posts: 68
Joined: 2003-04-08 16:15

gd Installation

Post by quicksilver »

Hallo ich suche ein kleines Howto zur installation von gd unter suse 8.1

vielen dank schonmal
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten

Re: gd Installation

Post by captaincrunch »

Gesucht zu haben scheinst du bisher ja nicht ...

Ab ins Scripting.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11

Re: gd Installation

Post by arty »

Hiho,

wenn du GD nur für PHP brauchst, dann installier dir einfach ein PHP 4.3.x RPM von SuSE, da ist das schon fest drin.

bye
arty
tomtetom
Posts: 11
Joined: 2003-08-07 16:29

In 4.3.1 is GD2 drin?

Post by tomtetom »

Habe suse rpm 4.3.1 installiert und laut phpinfo() ist
"GD Version bundled (2.0 compatible) "

Wenn ich jetzt nach der GD2 abfrage mit z.B:


function chkgd2() {
$testGD = get_extension_funcs("gd"); // Grab function list
if(!$testGD){ echo "GD not even installed."; exit; }
if(in_array ("imagegd2",$testGD)) $gd_version = "<2"; // Check
if($gd_version == "<2") return false; else return true;
}

if(chkgd2()) {

$gdinfostr = "GD2+ is installed."; // Test for GD2

} else {

$gdinfostr = "GD2+ is not installed.";

}

Dann kommt raus: "GD2+ is not installed".
Also funktioniert das in der Version 4.3.1 nicht sauber.

Hat jemand eine Idee was ich vielleicht übersehe?
Danke
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11

Re: gd Installation

Post by arty »

Hi,

zeig mal ne phpinfo()-Seite.

bye
arty
tomtetom
Posts: 11
Joined: 2003-08-07 16:29

Re: gd Installation

Post by tomtetom »

Die ganze Seite oder welche Teile sind interessant?
Das ist der Kopf:

PHP Version 4.3.1

System Linux p15091942 2.4.21-lufs-030704 #1 SMP Fri Jul 4 23:32:47 CEST 2003 i686
Build Date Aug 7 2003 11:31:52
Configure Command './configure' '--prefix=/usr/share' '--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-mbregex' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--enable-yp' '--with-bz2' '--with-dom=/usr/include/libxml2' '--with-ftp' '--with-gdbm' '--with-gettext' '--with-gmp' '--with-imap=yes' '--with-iodbc' '--with-jpeg-dir=/usr' '--with-ldap=yes' '--with-mcal=/usr' '--with-mcrypt' '--with-mysql=/usr' '--with-ndbm' '--with-pgsql=/usr' '--with-png-dir=/usr' '--with-readline' '--with-snmp' '--with-t1lib' '--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' '--with-zlib=yes' '--with-gd=shared' '--with-openssl' '--with-curl' '--with-swf=/usr/src/packages/BUILD/swf/dist/' '--with-imap-ssl' '--with-iconv' '--with-mm' '--with-apxs=/usr/sbin/apxs' 'i586-suse-linux'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/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
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11

Re: gd Installation

Post by arty »

Bitte die ganze Seite...

bye
arty
tomtetom
Posts: 11
Joined: 2003-08-07 16:29

Re: gd Installation

Post by tomtetom »

PHP Version 4.3.1

System Linux p11111111 2.4.21-lufs-030704 #1 SMP Fri Jul 4 23:32:47 CEST 2003 i686
Build Date Aug 7 2003 11:31:52
Configure Command './configure' '--prefix=/usr/share' '--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-mbregex' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--enable-yp' '--with-bz2' '--with-dom=/usr/include/libxml2' '--with-ftp' '--with-gdbm' '--with-gettext' '--with-gmp' '--with-imap=yes' '--with-iodbc' '--with-jpeg-dir=/usr' '--with-ldap=yes' '--with-mcal=/usr' '--with-mcrypt' '--with-mysql=/usr' '--with-ndbm' '--with-pgsql=/usr' '--with-png-dir=/usr' '--with-readline' '--with-snmp' '--with-t1lib' '--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' '--with-zlib=yes' '--with-gd=shared' '--with-openssl' '--with-curl' '--with-swf=/usr/src/packages/BUILD/swf/dist/' '--with-imap-ssl' '--with-iconv' '--with-mm' '--with-apxs=/usr/sbin/apxs' 'i586-suse-linux'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/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-2002 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_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 http://www.php.net/ http://www.php.net/
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/share/extensions/no-debug-non-zts-20020429 /usr/share/extensions/no-debug-non-zts-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/php
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 30 30
max_input_time 60 60
memory_limit 8M 8M
open_basedir /home/www/web2/ no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode On Off
safe_mode_exec_dir /home/www/empty no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from me@localhost.com me@localhost.com
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
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 2M 2M
upload_tmp_dir /home/www/web2/phptmp/ 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


apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.26
Apache Release 10326100
Apache API Version 19990320
Hostname:Port test.de:80
User/Group wwwrun(30)/8
Max Requests Per Child: 1000 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /srv/www
Loaded Modules mod_ssl, mod_php4, mod_setenvif, mod_so, mod_unique_id, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_db, mod_auth_dbm, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_referer, mod_log_agent, mod_log_config, mod_define, mod_env, mod_vhost_alias, mod_mmap_static, http_core

Directive Local Value Master Value
child_terminate 0 0
engine 1 1
last_modified 0 0
xbithack 0 0


Apache Environment
Variable Value
DOCUMENT_ROOT /home/www/web2/html
HTTP________________ ~~~~~ ~~~~~~~
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
HTTP_ACCEPT_LANGUAGE de
HTTP_CONNECTION Keep-Alive
HTTP_HOST http://www.test.de
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 1.0.3705)
PATH /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin
REMOTE_ADDR 80.131.219.185
REMOTE_PORT 3159
SCRIPT_FILENAME /home/www/web2/html/info.php
SERVER_ADDR XXX.XXX.XXX.XXX
SERVER_ADMIN webmaster@test.de
SERVER_NAME http://www.test.de
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.26 Server at http://www.test.de Port 80</ADDRESS>
SERVER_SOFTWARE Apache/1.3.26 (Linux/SuSE) mod_ssl/2.8.10 OpenSSL/0.9.6g PHP/4.3.1
UNIQUE_ID P04YAH8AAAIAAF0B4Gs
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /info.php
SCRIPT_NAME /info.php


HTTP Headers Information
HTTP Request Headers
HTTP Request GET /info.php HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Accept-Language de
Connection Keep-Alive
Host http://www.test.de
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 1.0.3705)
~~~~~~~~~~~~~~~ ~~~~~ ~~~~~~~
HTTP Response Headers
X-Powered-By PHP/4.3.1
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html


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.9.8 (OpenSSL 0.9.6g) (ipv6 enabled)


dba
DBA support enabled
Supported handlers gdbm ndbm


domxml
DOM/XML enabled
DOM/XML API Version 20020814
libxml Version 20423
HTML Support enabled
XPath Support enabled
XPointer Support enabled


exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.118.2.12 2002/12/23 08:43:13 sesser Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF


ftp
FTP support enabled


gd
GD Support enabled
GD Version bundled (2.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled


gettext
GetText Support enabled


gmp
gmp support enabled


iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.2.5

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


ldap
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.130 2002/11/05 14:18:20 edink Exp $
Total Links 0/unlimited
API Version 2004
Vendor Name OpenLDAP
Vendor Version 20104


mbstring
Multibyte Support enabled
Japanese support enabled
Multibyte (japanese) regex support enabled

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 UTF-8 UTF-8
mbstring.language neutral neutral
mbstring.substitute_character no value no value


mcal
MCAL Support enabled
MCAL Version 0.6 - 20000121


mcrypt
mcrypt support enabled
version >= 2.4.x
Supported ciphers arcfour blowfish-compat blowfish cast-128 cast-256 des enigma gost idea loki97 mars panama rc2 rc6 rijndael-128 rijndael-192 rijndael-256 safer-sk128 safer-sk64 saferplus serpent skipjack threeway tripledes twofish wake xtea
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value


mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.52
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.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 -1 -1
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 iodbc
ODBC_INCLUDE -I/usr/local/include
ODBC_LFLAGS -L/usr/local/lib
ODBC_LIBS -liodbc

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.6g [engine] 9 Aug 2002


overload
User-Space Object Overloading Support enabled


pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 3.92 11-Sep-2002


pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 7.2.2
Multibyte character support enabled
SSL support enabled
Active Persistent Links 0
Active Links 0

Directive Local Value Master Value
pgsql.allow_persistent On On
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited


posix
Revision $Revision: 1.51 $


session
Session Support enabled
Registered save handlers files user mm mm mm mm mm

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_dividend 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 /tmp /tmp
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


snmp
UCD-SNMP Support enabled
UCD-SNMP Version 4.2.5


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


swf
swf support enabled


tokenizer
Tokenizer Support enabled


wddx
WDDX Support enabled
WDDX Session Serializer enabled


xml
XML Support active
XML Namespace Support active
EXPAT Version 1.95.2


yp
YP Support enabled


zlib
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4

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
dbase
filepro
sysvsem
sysvshm


Environment
Variable Value
LESSKEY /etc/lesskey.bin
NNTPSERVER news
INFODIR /usr/local/info:/usr/share/info:/usr/info
MANPATH /usr/share/man:/usr/local/man:/usr/X11R6/man
HOSTNAME p11111111
XKEYSYMDB /usr/X11R6/lib/X11/XKeysymDB
HOST p11111111
TERM xterm
SHELL /bin/bash
PROFILEREAD true
SSH_CLIENT 217.83.187.121 3703 22
SSH_TTY /dev/pts/2
USER root
LS_COLORS no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:
LD_LIBRARY_PATH :/lib:/usr/lib/SunJava2-1.3/jre/lib/i386:/usr/lib/SunJava2-1.3/jre/lib/i386/client:/usr/lib/SunJava2-1.3/jre/lib/i386/native_threads:/lib:/usr/lib/SunJava2-1.3/jre/lib/i386:/usr/lib/SunJava2-1.3/jre/lib/i386/client:/usr/lib/SunJava2-1.3/jre/lib/i386/native_threads
XNLSPATH /usr/X11R6/lib/X11/nls
HOSTTYPE i386
PAGER less
COLUMNS 198
MINICOM -c on
MAIL /var/mail/root
PATH /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin
CPU i686
INPUTRC /etc/inputrc
PWD /var/log/httpd
LINES 84
DBROOT /dev/null
TEXINPUTS :/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
SHLVL 3
HOME /root
LESS_ADVANCED_PREPROCESSOR no
OSTYPE linux
LS_OPTIONS -a -N --color=tty -T 0
no_proxy localhost
RC_LC_COLLATE POSIX
WINDOWMANAGER /usr/X11R6/bin/kde
LESS -M -I
MACHTYPE i686-suse-linux
LOGNAME root
PRINTER lp
RC_LANG en_US
LC_CTYPE en_US
LESSOPEN lessopen.sh %s
INFOPATH /usr/local/info:/usr/share/info:/usr/info
ORACLE_HOME no value
LESSCLOSE lessclose.sh %s %s
COLORTERM 1
_ /sbin/startproc
PREVLEVEL N
RUNLEVEL 3
DAEMON /usr/sbin/httpd
SWFFONTPATH /usr/share/php/swffonts


PHP Variables
Variable Value
PHP_SELF /info.php
_SERVER["DOCUMENT_ROOT"] /home/www/web2/html
_SERVER["HTTP________________"] ~~~~~ ~~~~~~~
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] de
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_HOST"] http://www.test.de
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 1.0.3705)
_SERVER["PATH"] /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin
_SERVER["REMOTE_ADDR"] 80.131.219.185
_SERVER["REMOTE_PORT"] 3159
_SERVER["SCRIPT_FILENAME"] /home/www/web2/html/info.php
_SERVER["SERVER_ADDR"] XXX.XXX.XXX.XXX
_SERVER["SERVER_ADMIN"] webmaster@test.de
_SERVER["SERVER_NAME"] http://www.test.de
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SIGNATURE"] <ADDRESS>Apache/1.3.26 Server at http://www.test.de Port 80</ADDRESS>
_SERVER["SERVER_SOFTWARE"] Apache/1.3.26 (Linux/SuSE) mod_ssl/2.8.10 OpenSSL/0.9.6g PHP/4.3.1
_SERVER["UNIQUE_ID"] P04YAH8AAAIAAF0B4Gs
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /info.php
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_TRANSLATED"] /home/www/web2/html/info.php
_SERVER["PHP_SELF"] /info.php
_SERVER["argv"] Array
(
)

_SERVER["argc"] 0
_ENV["LESSKEY"] /etc/lesskey.bin
_ENV["NNTPSERVER"] news
_ENV["INFODIR"] /usr/local/info:/usr/share/info:/usr/info
_ENV["MANPATH"] /usr/share/man:/usr/local/man:/usr/X11R6/man
_ENV["HOSTNAME"] p11111111
_ENV["XKEYSYMDB"] /usr/X11R6/lib/X11/XKeysymDB
_ENV["HOST"] p11111111
_ENV["TERM"] xterm
_ENV["SHELL"] /bin/bash
_ENV["PROFILEREAD"] true
_ENV["SSH_CLIENT"] 217.83.187.121 3703 22
_ENV["SSH_TTY"] /dev/pts/2
_ENV["USER"] root
_ENV["LS_COLORS"] no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:
_ENV["LD_LIBRARY_PATH"] :/lib:/usr/lib/SunJava2-1.3/jre/lib/i386:/usr/lib/SunJava2-1.3/jre/lib/i386/client:/usr/lib/SunJava2-1.3/jre/lib/i386/native_threads:/lib:/usr/lib/SunJava2-1.3/jre/lib/i386:/usr/lib/SunJava2-1.3/jre/lib/i386/client:/usr/lib/SunJava2-1.3/jre/lib/i386/native_threads
_ENV["XNLSPATH"] /usr/X11R6/lib/X11/nls
_ENV["HOSTTYPE"] i386
_ENV["PAGER"] less
_ENV["COLUMNS"] 198
_ENV["MINICOM"] -c on
_ENV["MAIL"] /var/mail/root
_ENV["PATH"] /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin
_ENV["CPU"] i686
_ENV["INPUTRC"] /etc/inputrc
_ENV["PWD"] /var/log/httpd
_ENV["LINES"] 84
_ENV["DBROOT"] /dev/null
_ENV["TEXINPUTS"] :/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
_ENV["SHLVL"] 3
_ENV["HOME"] /root
_ENV["LESS_ADVANCED_PREPROCESSOR"] no
_ENV["OSTYPE"] linux
_ENV["LS_OPTIONS"] -a -N --color=tty -T 0
_ENV["no_proxy"] localhost
_ENV["RC_LC_COLLATE"] POSIX
_ENV["WINDOWMANAGER"] /usr/X11R6/bin/kde
_ENV["LESS"] -M -I
_ENV["MACHTYPE"] i686-suse-linux
_ENV["LOGNAME"] root
_ENV["PRINTER"] lp
_ENV["RC_LANG"] en_US
_ENV["LC_CTYPE"] en_US
_ENV["LESSOPEN"] lessopen.sh %s
_ENV["INFOPATH"] /usr/local/info:/usr/share/info:/usr/info
_ENV["ORACLE_HOME"] no value
_ENV["LESSCLOSE"] lessclose.sh %s %s
_ENV["COLORTERM"] 1
_ENV["_"] /sbin/startproc
_ENV["PREVLEVEL"] N
_ENV["RUNLEVEL"] 3
_ENV["DAEMON"] /usr/sbin/httpd
_ENV["SWFFONTPATH"] /usr/share/php/swffonts


PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
tomtetom
Posts: 11
Joined: 2003-08-07 16:29

Re: gd Installation

Post by tomtetom »

Um ins Detail zu gehen.
Mein Problem ist wenn ich die Fkt. ImageCreateTrueColor aufrufe schmiert bei mir Apache/ PHP ab.
Dann erscheint in der Error_log die Zeile:
"child pid 24159 exit signal Segmentation fault (11)"

Und im Browser kommt Aktion abgebrochen.

Jemand eine Idee?
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11

Re: gd Installation

Post by arty »

Hi,

evtl. ist das ein Bug in PHP. Was sagt bugs.php.net dazu? Ansonsten funktioniert dein GD2-Support.

bye
arty
tomtetom
Posts: 11
Joined: 2003-08-07 16:29

Re: gd Installation

Post by tomtetom »

Habe keinen Eintrag bei den Bugs gefunden.
Ich kann mir nicht erklären warum es nicht geht.

Laut php Doku sollte es gehen.
Jetzt warte ich auf das suse rpm für 4.3.3. und dann probiere ich es noch mal.

Vielleicht hat ja jemand noch einen andere Idee.
Danke.