Hallo zusammen,
ich bin noch ein wenig frisch auf dem Gebiet was Webserver, PhP, MySQL etc einrichten angeht aber ein klein wenig Erfahrung habe ich schon sammeln können und mein derzeitigen vserver habe ich auch soweit konfigurieren können.
Jedoch habe ich momentan das Problem, dass ich egal von welchem Script aus, sei es das Im Profil des Forum oder das der Hauptseite, man kann zb kein eigenes Avatar von der Seite aus über PhP hochladen, eine Fehlermeldung kommt allerdings auch nicht.
Ich habe mir dann mal die phpinfo des jetzigen und des alten Servers verglichen, alt hatte ich php4 und neu php5, mein system läuft auf "PHP Version 5.2.0-8+etch11".
ich habe alles soweit eingestellt wie es auf dem anderen war bis auf eine sache, und zwar die "Registered PHP Streams" unterscheiden sich in soweit, dass ich " ALT: php, http, ftp, https, ftps, compress.bzip2, compress.zlib" und "NEU: zip" als streams habe, dass hat mich schon gewundert warum ich neu nur ZIP als Registered PhP Stream habe doch ein weg gefunden um die anderen hinzuzufügen habe ich leider auch nicht.
wäre sehr dankbar für eure hilfe.
Hier meine PhPinfo als code:
cu,
Trusty
ich bin noch ein wenig frisch auf dem Gebiet was Webserver, PhP, MySQL etc einrichten angeht aber ein klein wenig Erfahrung habe ich schon sammeln können und mein derzeitigen vserver habe ich auch soweit konfigurieren können.
Jedoch habe ich momentan das Problem, dass ich egal von welchem Script aus, sei es das Im Profil des Forum oder das der Hauptseite, man kann zb kein eigenes Avatar von der Seite aus über PhP hochladen, eine Fehlermeldung kommt allerdings auch nicht.
Ich habe mir dann mal die phpinfo des jetzigen und des alten Servers verglichen, alt hatte ich php4 und neu php5, mein system läuft auf "PHP Version 5.2.0-8+etch11".
ich habe alles soweit eingestellt wie es auf dem anderen war bis auf eine sache, und zwar die "Registered PHP Streams" unterscheiden sich in soweit, dass ich " ALT: php, http, ftp, https, ftps, compress.bzip2, compress.zlib" und "NEU: zip" als streams habe, dass hat mich schon gewundert warum ich neu nur ZIP als Registered PhP Stream habe doch ein weg gefunden um die anderen hinzuzufügen habe ich leider auch nicht.
wäre sehr dankbar für eure hilfe.
Hier meine PhPinfo als code:
Code:
phpinfo()PHP Version 5.2.0-8+etch11
System Linux v214870568.yourvserver.net 2.6.22-3-vserver-amd64 #1 SMP Sun
Nov 4 18:41:00 UTC 2007 x86_64
Build Date May 10 2008 10:21:17
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/apache2/php.ini
Scan this dir for additional .ini files /etc/php5/apache2/conf.d
additional .ini files parsed /etc/php5/apache2/conf.d/gd.ini,
/etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini,
/etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3,
sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower,
string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
PHP Credits
Configuration
PHP Core
DirectiveLocal ValueMaster Value
allow_call_time_pass_referenceOnOn
allow_url_fopenOnOn
allow_url_includeOffOff
always_populate_raw_post_dataOffOff
arg_separator.input&&
arg_separator.output&&
asp_tagsOffOff
auto_append_fileno valueno value
auto_globals_jitOnOn
auto_prepend_fileno valueno value
browscapno valueno value
default_charsetno valueno value
default_mimetypetext/htmltext/html
define_syslog_variablesOffOff
disable_classesno valueno value
disable_functionsexec,system,passthru,shell_exec,popen,escapeshellcmd,proc_open,proc_nice,ini_restoreexec,system,passthru,shell_exec,popen,escapeshellcmd,proc_open,proc_nice,ini_restore
display_errorsOnOn
display_startup_errorsOffOff
doc_rootno valueno value
docref_extno valueno value
docref_rootno valueno value
enable_dlOnOn
error_append_stringno valueno value
error_logno valueno value
error_prepend_stringno valueno value
error_reporting61356135
expose_phpOnOn
extension_dir/usr/lib/php5/20060613/usr/lib/php5/20060613
file_uploadsOnOn
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_errorsOnOn
ignore_repeated_errorsOffOff
ignore_repeated_sourceOffOff
ignore_user_abortOffOff
implicit_flushOnOn
include_path.:/usr/share/php:/usr/share/pear.:/usr/share/php:/usr/share/pear
log_errorsOffOff
log_errors_max_len10241024
magic_quotes_gpcOffOff
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
mail.force_extra_parametersno valueno value
max_execution_time3030
max_input_time-1-1
memory_limit40M40M
open_basedir/var/kunden/webs/Trusty/bht-league.eu/phptg4/:/tmp/no value
output_bufferingno valueno value
output_handlerno valueno value
post_max_size200M200M
precision1414
realpath_cache_size16K16K
realpath_cache_ttl120120
register_argc_argvOnOn
register_globalsOnOn
register_long_arraysOnOn
report_memleaksOnOn
report_zend_debugOnOn
safe_modeOffOff
safe_mode_exec_dirno valueno value
safe_mode_gidOnOn
safe_mode_include_dirno valueno value
sendmail_fromno valueno value
sendmail_path/usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision100100
short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sql.safe_modeOffOff
track_errorsOffOff
unserialize_callback_funcno valueno value
upload_max_filesize200M200M
upload_tmp_dirno valueno value
user_dirno valueno value
variables_orderEGPCSEGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
y2k_complianceOffOff
zend.ze1_compatibility_modeOffOff
apache2handler
Apache Version Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11
Apache API Version 20051115
Server Administrator jan.gieselmann@t-online.de
Hostname:Port bh-turnierpage.de: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_log_config mod_logio prefork http_core mod_so
mod_alias mod_auth_basic mod_authn_file mod_authz_default
mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi
mod_dir mod_env mod_mime mod_negotiation mod_php5 mod_setenvif mod_status
DirectiveLocal ValueMaster Value
engine11
last_modified00
xbithack00
Apache Environment
VariableValue
HTTP_ACCEPT */*
HTTP_REFERER
http://serversupportforum.de/forum/webserver/26261-upload-per-php-nicht-m-glich.html
HTTP_ACCEPT_LANGUAGE de
HTTP_UA_CPU x86
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR
2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2)
HTTP_HOST bh-turnierpage.de
HTTP_CONNECTION Keep-Alive
PATH /usr/local/bin:/usr/bin:/bin
SERVER_SIGNATURE <address>Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 Server
at bh-turnierpage.de Port 80</address>
SERVER_SOFTWARE Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11
SERVER_NAME bh-turnierpage.de
SERVER_ADDR 78.47.34.129
SERVER_PORT 80
REMOTE_ADDR 217.225.118.215
DOCUMENT_ROOT /var/kunden/webs/Trusty/bht-league.eu/phptg4/
SERVER_ADMIN jan.gieselmann@t-online.de
SCRIPT_FILENAME /var/kunden/webs/Trusty/bht-league.eu/phptg4/info.php
REMOTE_PORT 3181
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 */*
Referer
http://serversupportforum.de/forum/webserver/26261-upload-per-php-nicht-m-glich.html
Accept-Language de
UA-CPU x86
Accept-Encoding gzip, deflate
User-Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR
3.0.04506.30; InfoPath.2)
Host bh-turnierpage.de
Connection Keep-Alive
HTTP Response Headers
X-Powered-By PHP/5.2.0-8+etch11
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html; charset=iso-8859-1
bcmath
BCMath support enabled
bz2
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.3, 15-Feb-2005
calendar
Calendar support enabled
ctype
ctype functions enabled
date
date/time support enabled
Timezone Database Version 2006.14
Timezone Database internal
Default timezone Europe/Berlin
DirectiveLocal ValueMaster Value
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.58333390.583333
date.sunset_zenith90.58333390.583333
date.timezoneno valueno value
dba
DBA support enabled
Supported handlers db4
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.27
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.5.2.4 2006/10/10 22:22:43 tony2001
Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
filter
Input Validation and Filteringenabled
Revision $Revision: 1.52.2.25 $
DirectiveLocal ValueMaster Value
filter.defaultunsafe_rawunsafe_raw
filter.default_flagsno valueno value
ftp
FTP support enabled
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
gettext
GetText Support enabled
hash
hash support enabled
Hashing Engines md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160
whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4
tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3
haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4
haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5
haval256,5
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.3.6
DirectiveLocal ValueMaster Value
iconv.input_encodingISO-8859-1ISO-8859-1
iconv.internal_encodingISO-8859-1ISO-8859-1
iconv.output_encodingISO-8859-1ISO-8859-1
imagick
ImageMagick supportenabled
Magick Backend ImageMagick
ImageMagick version 6.2.4
PHP imagick version 0.9.11
MaxRGB 65535
Supported image formats 8BIM
Font Family - Name AvantGarde - AvantGarde-Book
json
json support enabled
json version 1.2.1
libxml
libXML support active
libXML Version 2.6.27
libXML streams enabled
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On
mbstring extension makes use of "streamable kanji code filter and
converter", which is distributed under the GNU Lesser General Public
License version 2.1.
DirectiveLocal ValueMaster Value
mbstring.detect_orderno valueno value
mbstring.encoding_translationOffOff
mbstring.func_overload00
mbstring.http_inputpasspass
mbstring.http_outputpasspass
mbstring.internal_encodingno valueno value
mbstring.languageneutralneutral
mbstring.strict_detectionOffOff
mbstring.substitute_characterno valueno value
mime_magic
mime_magic supportenabled
DirectiveLocal ValueMaster Value
mime_magic.debugOffOff
mime_magic.magicfile/usr/share/file/magic.mime/usr/share/file/magic.mime
mysql
MySQL Supportenabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.32
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
DirectiveLocal ValueMaster Value
mysql.allow_persistentOnOn
mysql.connect_timeout6060
mysql.default_hostno valueno value
mysql.default_passwordno valueno value
mysql.default_portno valueno value
mysql.default_socketno valueno value
mysql.default_userno valueno value
mysql.max_linksUnlimitedUnlimited
mysql.max_persistentUnlimitedUnlimited
mysql.trace_modeOffOff
mysqli
MysqlI Supportenabled
Client API library version 5.0.32
Client API header version 5.0.32
MYSQLI_SOCKET /var/run/mysqld/mysqld.sock
DirectiveLocal ValueMaster Value
mysqli.default_hostno valueno value
mysqli.default_port33063306
mysqli.default_pwno valueno value
mysqli.default_socketno valueno value
mysqli.default_userno valueno value
mysqli.max_linksUnlimitedUnlimited
mysqli.reconnectOffOff
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8c 05 Sep 2006
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.7.7.4 2008-07-04
PDO
PDO supportenabled
PDO drivers mysql
pdo_mysql
PDO Driver for MySQL, client library version5.0.32
posix
Revision $Revision: 1.70.2.3.2.6 $
Reflection
Reflectionenabled
Version $Id: php_reflection.c,v 1.164.2.33.2.31 2006/10/18 16:35:15
johannes Exp $
session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary wddx
DirectiveLocal ValueMaster Value
session.auto_startOffOff
session.bug_compat_42OnOn
session.bug_compat_warnOnOn
session.cache_expire180180
session.cache_limiternocachenocache
session.cookie_domainno valueno value
session.cookie_httponlyOffOff
session.cookie_lifetime00
session.cookie_path//
session.cookie_secureOffOff
session.entropy_fileno valueno value
session.entropy_length00
session.gc_divisor100100
session.gc_maxlifetime14401440
session.gc_probability00
session.hash_bits_per_character44
session.hash_function00
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handlerfilesfiles
session.save_pathN;700;/var/lib/php5N;700;/var/lib/php5
session.serialize_handlerphpphp
session.use_cookiesOnOn
session.use_only_cookiesOffOff
session.use_trans_sid11
shmop
shmop support enabled
SimpleXML
Simplexml supportenabled
Revision $Revision: 1.151.2.22.2.15 $
Schema support enabled
soap
Soap Client enabled
Soap Server enabled
DirectiveLocal ValueMaster Value
soap.wsdl_cache11
soap.wsdl_cache_dir/tmp/tmp
soap.wsdl_cache_enabled11
soap.wsdl_cache_limit55
soap.wsdl_cache_ttl8640086400
sockets
Sockets Support enabled
SPL
SPL supportenabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator,
SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject,
BadFunctionCallException, BadMethodCallException, CachingIterator,
DirectoryIterator, DomainException, EmptyIterator, FilterIterator,
InfiniteIterator, InvalidArgumentException, IteratorIterator,
LengthException, LimitIterator, LogicException, NoRewindIterator,
OutOfBoundsException, OutOfRangeException, OverflowException,
ParentIterator, RangeException, RecursiveArrayIterator,
RecursiveCachingIterator, RecursiveDirectoryIterator,
RecursiveFilterIterator, RecursiveIteratorIterator,
RecursiveRegexIterator, RegexIterator, RuntimeException,
SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage,
SplTempFileObject, UnderflowException, UnexpectedValueException
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
DirectiveLocal ValueMaster Value
assert.active11
assert.bail00
assert.callbackno valueno value
assert.quiet_eval00
assert.warning11
auto_detect_line_endings00
default_socket_timeout6060
safe_mode_allowed_env_varsPHP_PHP_
safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH
url_rewriter.tagsa=href,area=href,frame=src,input=src,form=,fieldset=a=href,area=href,frame=src,input=src,form=,fieldset=
user_agentno valueno value
sysvmsg
sysvmsg support enabled
Revision $Revision: 1.20.2.3.2.1 $
tokenizer
Tokenizer Support enabled
wddx
WDDX Supportenabled
WDDX Session Serializer enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.27
xmlreader
XMLReader enabled
xmlwriter
XMLWriter enabled
zip
Zip enabled
Extension Version $Id: php_zip.c,v 1.1.2.15 2006/09/24 22:27:57 pajoye Exp
$
Zip version 2.0.0
Libzip version 0.7.1
zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.1
Linked Version 1.2.3
DirectiveLocal ValueMaster Value
zlib.output_compressionOffOff
zlib.output_compression_level-1-1
zlib.output_handlerno valueno value
Additional Modules
Module Name
sysvsem
sysvshm
Environment
VariableValue
PATH /usr/local/bin:/usr/bin:/bin
PWD /
LANG C
SHLVL 1
_ /usr/sbin/apache2
PHP Variables
VariableValue
PHP_SELF /info.php
_SERVER["HTTP_ACCEPT"]*/*
_SERVER["HTTP_REFERER"]http://serversupportforum.de/forum/webserver/26261-upload-per-php-nicht-m-glich.html
_SERVER["HTTP_ACCEPT_LANGUAGE"]de
_SERVER["HTTP_UA_CPU"]x86
_SERVER["HTTP_ACCEPT_ENCODING"]gzip, deflate
_SERVER["HTTP_USER_AGENT"]Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
5.1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR
2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2)
_SERVER["HTTP_HOST"]bh-turnierpage.de
_SERVER["HTTP_CONNECTION"]Keep-Alive
_SERVER["PATH"]/usr/local/bin:/usr/bin:/bin
_SERVER["SERVER_SIGNATURE"]<address>Apache/2.2.3 (Debian)
PHP/5.2.0-8+etch11 Server at bh-turnierpage.de Port 80</address>
_SERVER["SERVER_SOFTWARE"]Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11
_SERVER["SERVER_NAME"]bh-turnierpage.de
_SERVER["SERVER_ADDR"]78.47.34.129
_SERVER["SERVER_PORT"]80
_SERVER["REMOTE_ADDR"]217.225.118.215
_SERVER["DOCUMENT_ROOT"]/var/kunden/webs/Trusty/bht-league.eu/phptg4/
_SERVER["SERVER_ADMIN"]jan.gieselmann@t-online.de
_SERVER["SCRIPT_FILENAME"]/var/kunden/webs/Trusty/bht-league.eu/phptg4/info.php
_SERVER["REMOTE_PORT"]3181
_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["PHP_SELF"]/info.php
_SERVER["REQUEST_TIME"]1216722430
_SERVER["argv"]Array
(
)
_SERVER["argc"]0
_ENV["PATH"]/usr/local/bin:/usr/bin:/bin
_ENV["PWD"]/
_ENV["LANG"]C
_ENV["SHLVL"]1
_ENV["_"]/usr/sbin/apache2
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.
cu,
Trusty
Last edited by a moderator: