- Copy internal post link
- Copy external post link
- Report article
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html
[content:164834]
Win 2k8 Server mit IIS7 - .php Seiten werden nicht geöffnet
Statt sie zu öffnen will Browser Dateien mit Endung "PHP" speichern
auf einem Windows Server 2008 R2 mit php 5.2.6 habe ich php installiert. Ich wollte den Server mal auslesen, also legte ich auf dem Desktop die Datei "phpinfo.php" mit folgendem Inhalt an:
<html>
<head>
<title> PHP Test Script </title>
</head>
<body>
<?php
phpinfo( );
?>
</body>
</html>
Bedauerlicherweise will der Internet Explorer diese Datei speichern, statt sie zu öffnen. Ich habe die Datei mit "Öffnen mit" dem IE zugewiesen, er öffnet sich zunächst auch für einen Bruchteil einer Sekunde, danach minimiert der IE wieder und das Download Fenster wird geöffnet wo gefragt wird wohin ich die Datei speichern möchte.
Ist das eine der Sicherheitsfunktionen von IE, welche diese seltsame Reaktion verursacht oder habe ich etwas verpasst?
Content-Key: 164834
Url: https://administrator.de/contentid/164834
Printed on: April 25, 2024 at 16:04 o'clock
- Comment overview - Please log in
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-656358
[content:164834#656358]
nach welcher Anleitung hast du PHP auf dem Server installiert?
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-656361
[content:164834#656361]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-656364
[content:164834#656364]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-656370
[content:164834#656370]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-656381
[content:164834#656381]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-656394
[content:164834#656394]
Mit dieser Anleitung hat es geklappt.
Hab mir einfach die neuste Version als ZIP herunterladen und auf C:\ gelegt.
Ganz wichtig ist: VC9 herunterladen und installieren.
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-656573
[content:164834#656573]
ich habe jetzt rausgekriegt, daß dieses Problem an einer ominösen IIS7 Einstellung liegt, die dem Server mitteilt, daß er php wie html zu händeln hat. Allerdings weiß ich noch nicht welche und wo ich sie finde. Weißt du oder jemand anders das vielleicht?
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-656656
[content:164834#656656]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-656760
[content:164834#656760]
Kann sein, daß hier - in der von Dani verlinkten - aber noch ein paar Zeilen mehr zu finden sind - schaut zumindest so aus.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-656829
[content:164834#656829]
bitte mach folgendes: Mach sämtliche Änderungen rückgängig und folgende den Schritten aus meinen Link,
Funktioniert auf jeden Fall - Kollege hat es heute Morgen ebenfalls benötigt.
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657148
[content:164834#657148]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657149
[content:164834#657149]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657217
[content:164834#657217]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657228
[content:164834#657228]
"Windows Server Web
s steht dann wenn ich versuche sie zu installieren "Dieses Update ist nicht für Ihr System".
Hab doch noch eins gefunden.
@ pseudo70
Danke dir,
och ein Problem. Wenn ich folgendes eingebe kriege ich folgende Fehlermeldung ( Anleitung, Install and Configure PHP - punkt 4. )
C:\PHP>php –info
Zugriff verweigert
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657244
[content:164834#657244]
Bei "Configure IIS 7 to Handle PHP Requests" Punkt 6, kan
eudo70
Den Manager hatte ich schon drauf
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657258
[content:164834#657258]
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657269
[content:164834#657269]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657270
[content:164834#657270]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657274
[content:164834#657274]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657275
[content:164834#657275]
In dem Server manager unter CGI findet sich:
Sicherheit
Identität des Benutzers annehmen true/false (steht auf true)
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657276
[content:164834#657276]
Das finde ich ebenfalls im Server-Manager nicht. Oder meinst du für den Ordner c:\inetpub\wwwroot ?
BTW: Hast du 2 Accounts bei uns?
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657279
[content:164834#657279]
Zum thema zurück.
Na gut, da habe ich jetzt noch ein Problemchen. Ich weiß nicht was ich gemacht habe, aber jetzt will der server-manager unter php- die phpinfo funktion nicht ausführen. Er meldet dann
"kann die datei wwwroot\sowieso.php nicht öffnen weil sie von einem anderen prozess verwendet wird"
siehe da bitte: http://postimage.org/image/2rrlofo2s/
Jetzt scheint garnichts mehr zu gehen.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657283
[content:164834#657283]
Achja, das bild ist ein bisschen zu klein für meine Augen.
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657285
[content:164834#657285]
http://postimage.org/image/2rrlofo2s/
Ich habe nicht nur den Dienst sondern auch den Rechner neugestartet - ohne Erfolg. Ich habe jetzt nochmal in der konsole "php -info" zu starten versucht. Er meinte, daß der Dienst nicht existiert. Dann, nach System Neustart funktionier der Befehl in cmd plötzlich und im Konsolenfenster kriege ich eine info Ausgabe. Doch der andere Fehler ( Bildschirmfoto ) ist weiter aktuell.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657286
[content:164834#657286]
Danach über den IE http://localhost/phpinfo.php aufrufen.
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657287
[content:164834#657287]
[Link gelöscht]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657288
[content:164834#657288]
Die phpinfo.php Datei befindet sich unter C:\inetpub\wwwroot\ doch wenn ich sie mit dem o.g. Befehl im Browser aufrufe, bekomme ich den Fehler "Die Webseite kann nicht angezeigt werden". Diesmal ohne Nummer.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657289
[content:164834#657289]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657291
[content:164834#657291]
Im Moment habe ich IIS nicht installiert.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657292
[content:164834#657292]
Das lag an dem Eintrag in der php.ini
;open_basedir = C:\inetpub\wwwroot
Den hatte ich aktiviert (also semikolon raus) da es so in der obigen Anleitung stand.
Doch "phpinfo.php" startet im Browser weiterhin nicht. Also bleibt weiterhin das alte Problem.
Was aber gut ist - selbst nachdem ich die Zeile mit basedir wieder auskommentiert habe und den Server neustartete kann ich in der konsole "php -info" weiterhin ausführen.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657294
[content:164834#657294]
Hast du den Browsercache mal geleert?
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657297
[content:164834#657297]
Vor allem - wenn diese Anleitung geht -> http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applicatio ...
wieso ist dann bei mir alles durcheinander wenn ich die Zeile "open_basedir" aktiviere?
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657299
[content:164834#657299]
Aber im Moment habe ich keinen Bedarf an eigenen Webservern, daher ist nichts mehr installiert.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657309
[content:164834#657309]
Vielleicht bringt ein Auszug aus php.ini etwas Licht? Alles was ein ";" (Semikolon) davor hatte habe ich rausgenommen. Egal ob Kommentar oder Option. Auch die "[XXX]" sind raus damit die Datei kürzer ist:
[PHP]
engine = On
zend.ze1_compatibility_mode = Off
short_open_tag = Off
asp_tags = Off
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 = Off
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
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
error_reporting = E_ALL & ~E_DEPRECATED
display_errors = Off
display_startup_errors = On
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
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 = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file = c:\php\root.php
auto_append_file =
default_mimetype = "text/html"
doc_root =
user_dir =
extension_dir = "C:\PHP\ext\"
enable_dl = On
file_uploads = On
upload_max_filesize = 2M
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60
upload_tmp_dir = "C:\Windows\Temp"
session.save_path = "C:\Windows\Temp"
cgi.force_redirect = 0
error_log = "C:\Windows\Temp\php-5.2.14_errors.log"
cgi.fix_pathinfo = 1
fastcgi.impersonate = 1
html_errors = Off
fastcgi.logging = 0
date.timezone = "Europe/Germany"
define_syslog_variables = Off
SMTP = smtp.1und1.de
smtp_port = 25
sql.safe_mode = Off
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off
mysqli.max_links = -1
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
msql.allow_persistent = On
msql.max_persistent = -1
msql.max_links = -1
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0
sybase.allow_persistent = On
sybase.max_persistent = -1
sybase.max_links = -1
sybase.min_error_severity = 10
sybase.min_message_severity = 10
sybase.compatability_mode = Off
sybct.allow_persistent = On
sybct.max_persistent = -1
sybct.max_links = -1
sybct.min_server_severity = 10
sybct.min_client_severity = 10
bcmath.scale = 0
ifx.default_host =
ifx.default_user =
ifx.default_password =
ifx.allow_persistent = On
ifx.max_persistent = -1
ifx.max_links = -1
ifx.textasvarchar = 0
ifx.byteasvarchar = 0
ifx.charasvarchar = 0
ifx.blobinfile = 0
ifx.nullformat = 0
session.save_handler = files
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
mssql.allow_persistent = On
mssql.max_persistent = -1
mssql.max_links = -1
mssql.min_error_severity = 10
mssql.min_message_severity = 10
mssql.compatability_mode = Off
mssql.secure_connection = Off
tidy.clean_output = Off
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
extension=php_bz2.dll
extension=php_imap.dll
extension=php_mcrypt.dll
extension=php_mhash.dll
extension=php_mysql.dll
extension=php_gd2.dll
extension=php_openssl.dll
extension=php_sockets.dll
extension=php_xmlrpc.dll
extension=php_zip.dll
extension=php_iisfunc.dll
extension=php_mcrypt_filter.dll
extension=php_memcache.dll
extension=php_ntuser.dll
extension=php_phpdoc.dll
extension=php_pop3.dll
extension=php_smtp.dll
extension=php_ssh2.dll
extension=php_win32ps.dll
extension=php_win32scheduler.dll
extension=php_win32service.dll
extension=php_win32std.dll
extension=php_zlib_filter.dll
extension=php_netools.dll
extension=php_curl.dll
extension=php_gettext.dll
extension=php_mysqli.dll
extension=php_mbstring.dll
extension=php_soap.dll
Wie gesagt. Es ist php 5.2.6.
Was kann ich noch machen, wo kann ich noch suchen?
[edit]
Ich weiß, daß man bei der Installation von PHP zwischen CGI und ISAPI wählen sollte - kann sein, daß diese Übersicht etwas zeigt was nicht da sein sollte?
http://postimage.org/image/2fujblvgk/
Ich meine die ganzen ISAPI Module...
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657313
[content:164834#657313]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657452
[content:164834#657452]
[EDIT]
Oh, das ist unerwartet - es hat sich etwas geändert ! Das ist seltsam, denn gestern als ich schlafen ging wollte das nicht klappen.
Jetzt funktioniert das phpinfo.php wenn ich es über den Browser aufrufe
http://localhost/phpinfo.php
Das war die gute Nachricht. Die schlechte: eine identische "phpinfo.php" Datei auf dem Desktop wird mit dem IE nicht geöffnet sondern weiterhin will er speichern.
Zudem habe ich festgestellt, daß mindestens eine php Erweiterung, welche über den "Server-Manager / PHP Manager / PHP Erweiterungen" als "aktiv" erkannt wird, in der "phpinfo" nicht angezeigt wird.
Es handelt sich dabei um eine Erweiterung namens "php_gd2.dll". Diese müsste in der phpinfo aufgelistet sein unter "gd". Doch die Tabelle "gd" fehlt gänzlich. Nach "ftp" kommt gleich die Tabelle "hash".
[EDIT 2]
Es sind mehrere php Erweiterungen die nicht geladen werden. In php log steht:
[[21-Apr-2011 12:00:29] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_netools.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:00:29] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_curl.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:00:29] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_gettext.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:00:29] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysqli.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:00:29] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mbstring.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:00:29] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_soap.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:04:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_netools.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:04:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_curl.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:04:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_gettext.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:04:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysqli.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:04:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mbstring.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:04:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_soap.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:04:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_gd2.dll' - The specified procedure could not be found.
in Unknown on line 0
[21-Apr-2011 12:07:33] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_netools.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:07:33] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_curl.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:07:33] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_gettext.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:07:33] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysqli.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:07:33] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mbstring.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:07:33] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_soap.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:07:33] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_gd2.dll' - The specified procedure could not be found.
in Unknown on line 0
[21-Apr-2011 12:08:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_netools.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:08:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_curl.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:08:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_gettext.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:08:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysqli.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:08:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mbstring.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:08:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_soap.dll' - The specified module could not be found.
in Unknown on line 0
[21-Apr-2011 12:08:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_gd2.dll' - The specified procedure could not be found.
in Unknown on line 0
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657492
[content:164834#657492]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657505
[content:164834#657505]
Das ändert aber nichts daran, dass ich einiges davon in der phpinfo.php nicht finde. Wie die Tabelle "gd" zum Beispiel. In der Extensions-Liste im PHP Manager ist die Erweiterung "php_gd2.dll" aber als "aktiviert" aufgelistet. Auch alle anderen sind aktiviert.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657533
[content:164834#657533]
schon mal in das Verzeichnis geschaut ob die Dateien existieren?!
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657573
[content:164834#657573]
natürlich. Hier der Listing:
Datentr„ger in Laufwerk C: ist System
Volumeseriennummer: 4XXX-XXXX
Verzeichnis von C:\PHP\ext
19.04.2011 00:34 <DIR> .
19.04.2011 00:34 <DIR> ..
02.05.2008 19:07 69.694 php_bz2.dll
18.04.2011 15:00 655.360 php_gd2.dll
01.04.2011 11:53 802.816 php_gd2.dll.backorig
02.05.2008 19:07 41.026 php_iisfunc.dll
02.05.2008 19:07 835.647 php_imap.dll
02.05.2008 19:07 41.025 php_mcrypt.dll
02.05.2008 19:07 24.648 php_mcrypt_filter.dll
02.05.2008 19:07 49.219 php_memcache.dll
02.05.2008 19:07 24.640 php_mhash.dll
02.05.2008 19:07 45.120 php_mysql.dll
02.05.2008 19:07 24.642 php_netools.dll
02.05.2008 19:07 28.737 php_ntuser.dll
02.05.2008 19:07 65.602 php_openssl.dll
02.05.2008 19:07 28.737 php_phpdoc.dll
02.05.2008 19:07 28.735 php_pop3.dll
02.05.2008 19:07 24.639 php_smtp.dll
02.05.2008 19:07 49.218 php_sockets.dll
02.05.2008 19:07 127.039 php_ssh2.dll
02.05.2008 19:07 24.642 php_win32ps.dll
02.05.2008 19:07 36.937 php_win32scheduler.dll
02.05.2008 19:07 28.743 php_win32service.dll
02.05.2008 19:07 41.027 php_win32std.dll
02.05.2008 19:07 73.793 php_xmlrpc.dll
02.05.2008 19:07 61.502 php_zip.dll
02.05.2008 19:07 28.742 php_zlib_filter.dll
25 Datei(en), 3.261.930 Bytes
2 Verzeichnis(se), 29.819.460.608 Bytes frei
Dann natürlich die listings in php Manager - http://postimage.org/image/hjxac4tg/
Zunächst dachte ich, daß es nur an der Datei "php_gd2.dll" liegt, dann erst merkte ich, daß es viel mehr sind.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657581
[content:164834#657581]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657588
[content:164834#657588]
c:\php
Authenticated Users - Ändern, Lesen+Ausführen, Ordnerinhalt anzeigen, Lesen, Schreiben
System - Vollzugriff
Administrators - Vollzugriff
Users - Lesen+Ausführen, Ordnerinhalt anzeigen, Lesen
c:\php\ext
Authenticated Users - Ändern, Lesen+Ausführen, Ordnerinhalt anzeigen, Lesen, Schreiben
System - Vollzugriff
Administrators - Vollzugriff
Users - Lesen+Ausführen, Ordnerinhalt anzeigen, Lesen
Also identisch. Sollte da noch dieser IUSER dazu kommen? Der angemeldete Benutzer ist "Administrator".
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657727
[content:164834#657727]
Ich erinnere mich jetzt an deinen Vorschlag mit den "IUSR" Benutzer.
Soll ich einen "IUSR" Benutzer auf dem System erstellen und diesen dann den vollen Zugriff auf die Verzeichnisstruktur "C:\php" erstatten?
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657742
[content:164834#657742]
entschuldige... ich habe nebenher noch ein Privatleben!
Füge einfach mal den Benutzer "Jeder" hinzu und gib diesem Vollzugriff. Somit ist erstmal sichergestellt, dass es an den Rechten nicht mehr liegen kann.
Grüße,
Dani
BTW: Ist das ein erster Windows Server?
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657783
[content:164834#657783]
Ich habe den Benutzer "Everyone" für den Baum "C:\PHP" und alle Unterordner die vollen Zugriffsrechte erteilt. Was seltsam ist, ich habe keinen Benutzer "Jeder" - ist das bei Windows Server 2k8 normal? Bei XP konnte man glaube ich beides eingeben und es klappte - wurde gefunden.
Es ist mein erster win server 2008 und einer der wenigen windows basierten Server. Ich weiß, den Benutzer "IUSR" gibt es bereits, aber den habe ich noch nie für irgendwas verwendet.
[edit]
So, gemacht habe ich es wie schon gesagt, der Server ist neugestartet, doch keine Veränderung. Weiterhin fehlt mir z.B. die Rubrik "gd" in "phpinfo".
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657797
[content:164834#657797]
ich glaube, ich habe etwas.
Bei mir fehlen offensichtlich die "Umgebungsvariablen".
Kannst du mir vielleicht sagen wie diese genau heissen müssen und auf welche Pfade sie zeigen? Bisher habe ich nur default stehen:
TEMP %USERPROFILE%\AppData\Local\Temp
TMP %USERPROFILE%\AppData\Local\Temp
Oder ist der Name egal?
Oh, ok - war mein Fehler. Ich hatte die Umgebungsvariablen von Administrator betrachtet.
Hier die Systemvariablen:
C:\PHP\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657822
[content:164834#657822]
Dann stimmt etwas an deiner php.ini nicht. Kontrollier nochmal die Einträge für den ext_dir Path.
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657846
[content:164834#657846]
Die entspr. Zeile lautet:
extension_dir = "C:\PHP\ext\"
Sehen denn die Systemvariablen richtig aus?
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657847
[content:164834#657847]
Der Auszug aus der "php.ini" steht oben.
Die entspr. Zeile lautet:
> extension_dir = "C:\PHP\ext\"
>
extension_dir = "./ext"
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657850
[content:164834#657850]
Da stand in einem gelben Feld "Eine nicht optimale PHP Konfiguration wurde auf dieser Maschine entdeckt." und dahinter ein Link "Zeige Empfehlungen" als ich es dann anklickte (den Link) erschien ein Fenster mit den Vorschlag "./ext" durch "\PHP\ext" zu ersetzen.
Ich habe jetzt das so wie du meintest umgestellt und den IIS Server neugestartet. Aber das half nicht.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657853
[content:164834#657853]
Hmmm... so langsam gehen mir die Ideen aus. Gibt es eine Möglichkeit dass ich mir das direkt aufm Server mal anschauen kann?!
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657855
[content:164834#657855]
Tja, ich habe hier was wegen den Umgebungsvariablen gelesen (erster und letzter post):
http://www.php-resource.de/forum/fragen-zu-installation-konfiguration-l ...
Also ist wohl doch eine Möglichkeit gegeben, dass dadurch keine Extensions gefunden werden.
Mir sind die Ideen jedenfalls schon ausgegangen als ich hier postete. Ich bin da einfach zu unerfahren dafür. Aber einiges haben wir schon gelöst. Nur der letzte Rest will nicht.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657863
[content:164834#657863]
Funktioniert wie geschmiert. Als PHP-Version habe ich 5.2.17 (Non Thread Safe) installiert!!
Hast du deine php.ini aus C:\PHP auch nach C:\Windows kopiert.
Ich habe es gerade nochmals mit dem Extensions ausprobiert - sllte egal sein.
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657931
[content:164834#657931]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657936
[content:164834#657936]
hast du die Berechtigungen denn auch für die in den Ordnern und Unterordner liegenden Dateien vergeben?
Gruß
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657938
[content:164834#657938]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657944
[content:164834#657944]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657947
[content:164834#657947]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657952
[content:164834#657952]
Ich habe folgende php 5.2.6 Versionen gefunden:
php-5.2.6-nts-win32-installer.msi
php-5.2.6-nts-Win32.zip
php-5.2.6-win32-installer.msi
php-5.2.6-Win32.zip
Keine davon ist für 64-Bit, sollte natürlich aber trotzdem laufen. BTW - gibt es keine für x64?
Welche sollte ich am besten wählen?
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-657954
[content:164834#657954]
Dann nimm die Version "php-5.2.6-nts-win32-installer.msi". Ist auch ganz klar in meinen Link oben genannt!
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-658131
[content:164834#658131]
danke für Eure Tipps und Hilfe. Ich habe php 5.2.6 neuinstalliert, allerdings unter "C:\Program Files (x86)\php" und nicht direkt unter "C:".
Jetzt sehe ich einige Tabellen, wie zum Beispiel "gd" und "mssql" usw.
Allerdings sind immer noch nicht alle Probleme behoben. Einige dlls werden weiterhin nicht geladen. Zum Beispiel sehe ich die Tabelle "mbstring" nicht. Der php log gibt weiter aus:
[24-Apr-2011 17:39:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_curl.dll' - The specified module could not be found.
in Unknown on line 0
[24-Apr-2011 17:39:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_gettext.dll' - The specified module could not be found.
in Unknown on line 0
[24-Apr-2011 17:39:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_mysqli.dll' - The specified module could not be found.
in Unknown on line 0
[24-Apr-2011 17:39:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_mbstring.dll' - The specified module could not be found.
in Unknown on line 0
[24-Apr-2011 17:39:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_soap.dll' - The specified module could not be found.
in Unknown on line 0
[24-Apr-2011 17:39:09] PHP Warning: Module 'mysql' already loaded in Unknown on line 0
[24-Apr-2011 17:39:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_iisfunc.dll' - The specified module could not be found.
in Unknown on line 0
[24-Apr-2011 17:39:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_netools.dll' - The specified module could not be found.
in Unknown on line 0
Also ich habe jetzt wirklich keine Ahnung aber das ist doch alles sehr seltsam. Ich weiß nicht ob das an der php Version 5.2.6 oder doch an etwas anderen liegen könnte. Bin jetzt total verwirrt. Ich habe php natürlich im "FastCGI Modus" installiert und nicht ISAPI.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-658134
[content:164834#658134]
die DLL-Dateien existieren aber alle in dem angegebenen Verzeichnis und sind in der php.ini auch aktiv?!
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-658212
[content:164834#658212]
diesmal hast du voll ins schwarze getroffen. Die waren nicht installiert. Allerdings war "php_netools.dll" schon vorhanden, aber trotzdem als nicht anwesend gemeldet. Jetzt aber - nach dem ich die anderen nachinstallierte - ist auch diese Fehlermeldung weg.
Das ganze war also offensichtlich eine beschädigte php 5.2.6 Version.... Das ist Wahnsinn.
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-658214
[content:164834#658214]
somit ist das Problem behoben?
Grüße,
Dani
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-658293
[content:164834#658293]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-658410
[content:164834#658410]
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-658418
[content:164834#658418]
im PHP-Manual stand - soweit ich mich erinnere - irgendwo, wohin die phpinfo.php gehört. Wo genau weiß ich aber nicht mehr. Musst mal suchen.
Ansonsten im Explorer unter Ordneroptionen > Datentypen bei PHP mal nachsehen, welche Aktion dort als default eingetragen ist.
Gruß
- Copy internal comment link
- Copy external comment link
- To the beginning of the comments
https://administrator.de/forum/win-2k8-server-mit-iis7-php-seiten-werden-nicht-geoeffnet-164834.html#comment-658570
[content:164834#658570]