php und gd

Bash, Shell, PHP, Python, Perl, CGI
dfmar
Posts: 57
Joined: 2002-12-29 17:53
Location: Marienroth - Oberfranken

php und gd

Post by dfmar »

warum wird bei bei meinem server keine jpeg-unterstützung angezeigt? ich hab php doch mit gd übersetzt und auch den pfad zu libjpeg angegeben.
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11

Re: php und gd

Post by arty »

Hi,

zeig mal eine phpinfo()-Seite voin deinem Server.

bye
arty
dfmar
Posts: 57
Joined: 2002-12-29 17:53
Location: Marienroth - Oberfranken

Re: php und gd

Post by dfmar »

kann sie leider nur so posten. ist ein intranet server
System Linux linux 2.4.20-8 #1 Thu Mar 13 16:42:56 EST 2003 i586
Build Date Jul 4 2003 21:37:00
Configure Command './configure' '--with-apxs' '--enable-versioning' '--with-mysql'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 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 ./ ./
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/local/lib/php .:/usr/local/lib/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 120 120
max_input_time 60 60
open_basedir no value 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 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 me@localhost.com me@localhost.com
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 20M 20M
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


apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.23
Apache Release 10323100
Apache API Version 19990320
Hostname:Port linux:80
User/Group httpd(48)/48
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /usr
Loaded Modules mod_php4, mod_setenvif, mod_so, mod_expires, mod_proxy, mod_auth_dbm, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, 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_log_config, mod_env, 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 /var/www/html
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE de
HTTP_CONNECTION Keep-Alive
HTTP_COOKIE phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%223a4f45589c384c391d9cac6b5646575f%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D; sid=fd458564622ad1de15079caa571148ab
HTTP_HOST linux
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; DigExt)
PATH /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
REMOTE_ADDR 192.168.0.23
REMOTE_PORT 3110
SCRIPT_FILENAME /var/www/html/info.php
SERVER_ADDR 192.168.0.1
SERVER_ADMIN root@linux
SERVER_NAME linux
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.23 Server at linux Port 80</ADDRESS>
SERVER_SOFTWARE Apache/1.3.23 (Unix) PHP/4.3.2
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 */*
Accept-Encoding gzip, deflate
Accept-Language de
Connection Keep-Alive
Cookie phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%223a4f45589c384c391d9cac6b5646575f%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D; sid=fd458564622ad1de15079caa571148ab
Host linux
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; DigExt)
HTTP Response Headers
X-Powered-By PHP/4.3.2
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html


calendar
Calendar support enabled


ctype
ctype functions enabled


curl
CURL support enabled
CURL Information libcurl 7.9.8 (OpenSSL 0.9.7a) (ipv6 enabled)


ftp
FTP support enabled


gd
GD Support enabled
GD Version bundled (2.0.12 compatible)
GIF Read Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled


gettext
GetText Support enabled


mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value

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


overload
User-Space Object Overloading Support enabled


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


posix
Revision $Revision: 1.51.2.2 $


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 /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off


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


xml
XML Support active
XML Namespace Support active
EXPAT Version 1.95.2


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


Environment
Variable Value
LD_LIBRARY_PATH no value
SCRIPT_FILENAME /usr/libexec/webmin/apache/start.cgi
PATH /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
PWD /usr/libexec/webmin/apache/
PATH_TRANSLATED /usr/libexec/webmin/
REMOTE_ADDR 192.168.0.23
SHLVL 3
HOME /root
_ /usr/sbin/httpd


PHP Variables
Variable Value
_REQUEST["phpbb2mysql_data"] a:2:{s:11:"autologinid";s:32:"3a4f45589c384c391d9cac6b5646575f";s:6:"userid";s:1:"2";}
_REQUEST["sid"] fd458564622ad1de15079caa571148ab
_COOKIE["phpbb2mysql_data"] a:2:{s:11:"autologinid";s:32:"3a4f45589c384c391d9cac6b5646575f";s:6:"userid";s:1:"2";}
_COOKIE["sid"] fd458564622ad1de15079caa571148ab
_SERVER["DOCUMENT_ROOT"] /var/www/html
_SERVER["HTTP_ACCEPT"] */*
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] de
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_COOKIE"] phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%223a4f45589c384c391d9cac6b5646575f%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D; sid=fd458564622ad1de15079caa571148ab
_SERVER["HTTP_HOST"] linux
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; DigExt)
_SERVER["PATH"] /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
_SERVER["REMOTE_ADDR"] 192.168.0.23
_SERVER["REMOTE_PORT"] 3110
_SERVER["SCRIPT_FILENAME"] /var/www/html/info.php
_SERVER["SERVER_ADDR"] 192.168.0.1
_SERVER["SERVER_ADMIN"] root@linux
_SERVER["SERVER_NAME"] linux
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SIGNATURE"] <ADDRESS>Apache/1.3.23 Server at linux Port 80</ADDRESS>
_SERVER["SERVER_SOFTWARE"] Apache/1.3.23 (Unix) PHP/4.3.2
_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"] /var/www/html/info.php
_SERVER["PHP_SELF"] /info.php
_SERVER["argv"] Array
(
)

_SERVER["argc"] 0
_ENV["LD_LIBRARY_PATH"] no value
_ENV["SCRIPT_FILENAME"] /usr/libexec/webmin/apache/start.cgi
_ENV["PATH"] /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
_ENV["PWD"] /usr/libexec/webmin/apache/
_ENV["PATH_TRANSLATED"] /usr/libexec/webmin/
_ENV["REMOTE_ADDR"] 192.168.0.23
_ENV["SHLVL"] 3
_ENV["HOME"] /root
_ENV["_"] /usr/sbin/httpd
mem
Posts: 45
Joined: 2003-12-22 11:09

Re: php und gd

Post by mem »

> Build Date Jul 4 2003 21:37:00
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11

Re: php und gd

Post by arty »

Hi,

du hast GD-Support ohne JPEG:

Code: Select all

GD Support enabled
GD Version bundled (2.0.12 compatible)
GIF Read Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled 
Hast du PHP selbst kompiliert? Da fehlt nämlich im ./configure --enable-gd

bye
arty
dfmar
Posts: 57
Joined: 2002-12-29 17:53
Location: Marienroth - Oberfranken

Re: php und gd

Post by dfmar »

soweit ich weiß hab ich --with-gb gemacht