sessanta
Goto Top

Server Variable PHP SELF gibt doppelten Pfad aus

Hallo,
ich habe PHP 5.2.4 unter Windows 2003 Server (IIS 6) frisch aufgesetzt und nun das Problem, das $_SERVER['PHP_SELF'] doppelt ausgegeben wird (test.php im Unterverzeichnis test):
<? echo $_SERVER['PHP_SELF']; ?>  
Ausgabe: /test/test.php/test/test.php statt /test/test.php.

Gegoogelt sowie das Forum durchsucht hab ich auch schon, leider ohne Erfolg face-sad

Woran könnte es liegen?


Gruss

Sess

PS: Ich hab sicherheitshalber den oberen Teil der php.ini hier reinkopiert (Kommentare entfernt):
[PHP]
engine = On
zend.ze1_compatibility_mode = Off
short_open_tag = On
asp_tags = On
precision    =  14
y2k_compliance = On
output_buffering = 4096
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func=
serialize_precision = 100
allow_call_time_pass_reference = On
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_functions =
disable_classes =
expose_php = On

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60	; Maximum amount of time each script may spend parsing request data
memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)

error_reporting  =  E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = Off
log_errors = Off
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
html_errors = On
variables_order = "GPCS"  
register_globals = Off
register_long_arrays = Off
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 8M
magic_quotes_gpc = On
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"  
include_path = ".;C:\Programme\PHP\ext"  
doc_root =
user_dir =
extension_dir = "C:\Programme\PHP\ext"  
enable_dl = On
 cgi.force_redirect = 1
file_uploads = On
upload_max_filesize = 2M
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60
upload_tmp_dir="C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\php\upload"  
session.save_path="C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\php\session"  
cgi.force_redirect=0
extension=php_gd2.dll

Content-Key: 72196

Url: https://administrator.de/contentid/72196

Printed on: April 25, 2024 at 23:04 o'clock

Member: Sessanta
Sessanta Nov 01, 2007 at 10:50:27 (UTC)
Goto Top
Mitlerweile bin ich selber auf den Fehler gestossen!
Ich hatte php als "IIS CGI" installiert.
Als "IIS ISAPI module" funktionierts!
Member: masterG
masterG Jan 02, 2008 at 08:59:52 (UTC)
Goto Top
Wenn das Problem gelöst ist schließe ich den Thread!

masterG(moderator)