php.de

Zurück   php.de > Webentwicklung > Server, Hosting und Workstations

Server, Hosting und Workstations Server-Konfigurationsdateien (.htaccess/httpd.conf) und Arbeiten auf Serverebene

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 24.10.2006, 20:14  
Benutzer
 
Registriert seit: 20.02.2006
Beiträge: 51
lolipop 999
Standard bei öffnen von php wird immer download gestartet

hallo

wenn ich eine php öffnen will ( http://localhost/phpmyadmin/index.php )
wird nicht die seite geöffnet sondern ein download.

vielleicht kann mir wer helfen

danke

lolipop 999
lolipop 999 ist offline   Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 24.10.2006, 20:34  
moderatives Dielektrikum
 
Benutzerbild von nikosch
 
Registriert seit: 21.05.2008
Beiträge: 35.991
PHP-Kenntnisse:
Fortgeschritten
nikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunft
Standard

Anscheindend haut die Einstellung in httpd.conf nicht hin, die Apache die .php Script Endungen bekannt macht oder der Verweis auf den Script Interpreter.

Pass mal Einträge wie

ScriptAlias /php/ "c:/Programme/php/"
AddType application/x-httpd-php .php4
Action application/x-httpd-php "/php/php.exe"

(hier unter Windoof) an.
nikosch ist gerade online   Mit Zitat antworten
Alt 24.10.2006, 20:35  
da schreibt der ElePHPant
 
Benutzerbild von Flor1an
 
Registriert seit: 18.06.2008
Beiträge: 8.903
PHP-Kenntnisse:
Fortgeschritten
Flor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer Anblick
Standard

wenn ich mein auto anmachen will kommt immer nen komisches geräusch kann mir wer helfen?

mit soviel info sollen wir dir also helfen?

... wahrscheinlich ist php nicht installiert ... oder nicht beim apache in der httpd.conf eingestellt.
Flor1an ist offline   Mit Zitat antworten
Alt 24.10.2006, 20:48  
Benutzer
 
Registriert seit: 20.02.2006
Beiträge: 51
lolipop 999
Standard

hallo nikosch 77
Nein diese Einträge habe ich leider nicht gefunden.

hat das vielleicht etwas mit dem dateityp zu tun?

mfg

lolipop 999
lolipop 999 ist offline   Mit Zitat antworten
Alt 24.10.2006, 20:56  
Benutzer
 
Registriert seit: 20.02.2006
Beiträge: 51
lolipop 999
Standard

Habe es nur in dieser form gefunden

AddType application/x-tar .tgz
AddType image/x-icon .ico
AddType apllication/x-httpd-php .php .php3 .php4
lolipop 999 ist offline   Mit Zitat antworten
Alt 24.10.2006, 21:01  
da schreibt der ElePHPant
 
Benutzerbild von Flor1an
 
Registriert seit: 18.06.2008
Beiträge: 8.903
PHP-Kenntnisse:
Fortgeschritten
Flor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer Anblick
Standard

Die ersten 2 Zeilen sind egal. Die dritte schon besser. Allerdings falsch geschrieben.

Gib mal die Zeilen die nikosch77 geschrieben hat ein und pass den Pfad von PHP an.
Flor1an ist offline   Mit Zitat antworten
Alt 24.10.2006, 21:10  
Benutzer
 
Registriert seit: 20.02.2006
Beiträge: 51
lolipop 999
Standard

Hallo RaZor

Danke für deine hilfe

jetzt habe ich:

Die Seite wurde nicht gefunden.

ich habe eigentlich alles eingestellt und die Seite wird nicht geöffnet

Danke

lolipop 999
lolipop 999 ist offline   Mit Zitat antworten
Alt 25.10.2006, 00:40  
da schreibt der ElePHPant
 
Benutzerbild von Flor1an
 
Registriert seit: 18.06.2008
Beiträge: 8.903
PHP-Kenntnisse:
Fortgeschritten
Flor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer AnblickFlor1an ist ein wunderbarer Anblick
Standard

Wurde der Apache auch wieder gestartet? Kann gut sein dass er nach dem Restart nicht funktioniert wenn eine Pfadangabe o.Ä. nicht stimmt. Zeig mal was jetzt bei dir steht also diese Zeilen da.
Flor1an ist offline   Mit Zitat antworten
Alt 25.10.2006, 09:25  
Erfahrener Benutzer
 
Registriert seit: 13.11.2005
Beiträge: 2.583
xabbuh
Standard

Im Zweifelsfall wirf einfach mal einen Blick in die Logdateien.
xabbuh ist offline   Mit Zitat antworten
Alt 26.10.2006, 09:41  
Benutzer
 
Registriert seit: 20.02.2006
Beiträge: 51
lolipop 999
Standard

Vielleicht hilft das weiter

hier meine httpd.conf

Code:
ServerRoot "F:/Apache2" 

#ScoreBoardFile logs/apache_runtime_status 

PidFile logs/httpd.pid 

Timeout 300 

KeepAlive On 

MaxKeepAliveRequests 100 

KeepAliveTimeout 15 

## Server-Pool Size Regulation (MPM specific) 

<IfModule mpm_winnt.c> 
ThreadsPerChild 250 
MaxRequestsPerChild  0 
</IfModule> 

#Listen 12.34.56.78:80 
Listen 80 

# Example: 
# LoadModule foo_module modules/mod_foo.so 
# 
LoadModule access_module modules/mod_access.so 
LoadModule actions_module modules/mod_actions.so 
LoadModule alias_module modules/mod_alias.so 
LoadModule asis_module modules/mod_asis.so 
LoadModule auth_module modules/mod_auth.so 
#LoadModule auth_anon_module modules/mod_auth_anon.so 
#LoadModule auth_dbm_module modules/mod_auth_dbm.so 
#LoadModule auth_digest_module modules/mod_auth_digest.so 
LoadModule autoindex_module modules/mod_autoindex.so 
#LoadModule cern_meta_module modules/mod_cern_meta.so 
LoadModule cgi_module modules/mod_cgi.so 
#LoadModule dav_module modules/mod_dav.so 
#LoadModule dav_fs_module modules/mod_dav_fs.so 
LoadModule dir_module modules/mod_dir.so 
LoadModule env_module modules/mod_env.so 
#LoadModule expires_module modules/mod_expires.so 
#LoadModule file_cache_module modules/mod_file_cache.so 
#LoadModule headers_module modules/mod_headers.so 
LoadModule imap_module modules/mod_imap.so 
LoadModule include_module modules/mod_include.so 
#LoadModule info_module modules/mod_info.so 
LoadModule isapi_module modules/mod_isapi.so 
LoadModule log_config_module modules/mod_log_config.so 
LoadModule mime_module modules/mod_mime.so 
#LoadModule mime_magic_module modules/mod_mime_magic.so 
#LoadModule proxy_module modules/mod_proxy.so 
#LoadModule proxy_connect_module modules/mod_proxy_connect.so 
#LoadModule proxy_http_module modules/mod_proxy_http.so 
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so 
LoadModule negotiation_module modules/mod_negotiation.so 
#LoadModule rewrite_module modules/mod_rewrite.so 
LoadModule setenvif_module modules/mod_setenvif.so 
#LoadModule speling_module modules/mod_speling.so 
#LoadModule status_module modules/mod_status.so 
#LoadModule unique_id_module modules/mod_unique_id.so 
LoadModule userdir_module modules/mod_userdir.so 
#LoadModule usertrack_module modules/mod_usertrack.so 
#LoadModule vhost_alias_module modules/mod_vhost_alias.so 
#LoadModule ssl_module modules/mod_ssl.so 
LoadModule php4_module F:/Php/php-4.3.1-Win32/php4apache2.dll 

#ExtendedStatus On 

ServerAdmin admin@test.com 

ServerName localhost:80 

UseCanonicalName Off 

DocumentRoot "F:/Apache2/htdocs" 

<Directory /> 
    Options FollowSymLinks 
    AllowOverride None 
</Directory> 

<Directory "F:/Apache2/htdocs"> 

    Options Indexes FollowSymLinks 

    AllowOverride None 

    Order allow,deny 
    Allow from all 

UserDir "My Documents/My Website" 

DirectoryIndex index.html index.html.var 

AccessFileName .htaccess 

<Files ~ "^\.ht"> 
    Order allow,deny 
    Deny from all 
</Files> 

TypesConfig conf/mime.types 

DefaultType text/plain 

<IfModule mod_mime_magic.c> 
    MIMEMagicFile conf/magic 
</IfModule> 

HostnameLookups Off 

ErrorLog logs/error.log 

LogLevel warn 

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 
LogFormat "%h %l %u %t \"%r\" %>s %b" common 
LogFormat "%{Referer}i -> %U" referer 
LogFormat "%{User-agent}i" agent 

CustomLog logs/access.log common 

ServerTokens Full 

ServerSignature On 

Alias /icons/ "F:/Apache2/icons/" 

<Directory "F:/Apache2/icons"> 
    Options Indexes MultiViews 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
</Directory> 

Alias /manual "F:/Apache2/manual" 

<Directory "F:/Apache2/manual"> 
    Options Indexes FollowSymLinks MultiViews IncludesNoExec 
    AddOutputFilter Includes html 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
</Directory> 

ScriptAlias /cgi-bin/ "F:/Apache2/cgi-bin/" 

<Directory "F:/Apache2/cgi-bin"> 
    AllowOverride None 
    Options None 
    Order allow,deny 
    Allow from all 
</Directory> 

IndexOptions FancyIndexing VersionSort 

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip 

AddIconByType (TXT,/icons/text.gif) text/* 
AddIconByType (IMG,/icons/image2.gif) image/* 
AddIconByType (SND,/icons/sound2.gif) audio/* 
AddIconByType (VID,/icons/movie.gif) video/* 

AddIcon /icons/binary.gif .bin .exe 
AddIcon /icons/binhex.gif .hqx 
AddIcon /icons/tar.gif .tar 
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv 
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip 
AddIcon /icons/a.gif .ps .ai .eps 
AddIcon /icons/layout.gif .html .shtml .htm .pdf 
AddIcon /icons/text.gif .txt 
AddIcon /icons/c.gif .c 
AddIcon /icons/p.gif .pl .py 
AddIcon /icons/f.gif .for 
AddIcon /icons/dvi.gif .dvi 
AddIcon /icons/uuencoded.gif .uu 
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl 
AddIcon /icons/tex.gif .tex 
AddIcon /icons/bomb.gif core 

AddIcon /icons/back.gif .. 
AddIcon /icons/hand.right.gif README 
AddIcon /icons/folder.gif ^^DIRECTORY^^ 
AddIcon /icons/blank.gif ^^BLANKICON^^ 

DefaultIcon /icons/unknown.gif 

ReadmeName README.html 
HeaderName HEADER.html 

IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t 

AddEncoding x-compress Z 
AddEncoding x-gzip gz tgz 

AddLanguage da .dk 
AddLanguage nl .nl 
AddLanguage en .en 
AddLanguage et .et 
AddLanguage fr .fr 
AddLanguage de .de 
AddLanguage he .he 
AddLanguage el .el 
AddLanguage it .it 
AddLanguage ja .ja 
AddLanguage pl .po 
AddLanguage ko .ko 
AddLanguage pt .pt 
AddLanguage nn .nn 
AddLanguage no .no 
AddLanguage pt-br .pt-br 
AddLanguage ltz .ltz 
AddLanguage ca .ca 
AddLanguage es .es 
AddLanguage sv .se 
AddLanguage cz .cz 
AddLanguage ru .ru 
AddLanguage tw .tw 
AddLanguage zh-tw .tw 
AddLanguage hr .hr 

LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw 

ForceLanguagePriority Prefer Fallback 

AddDefaultCharset ISO-8859-1 

AddCharset ISO-8859-1  .iso8859-1 .latin1 
AddCharset ISO-8859-2  .iso8859-2 .latin2 .cen 
AddCharset ISO-8859-3  .iso8859-3 .latin3 
AddCharset ISO-8859-4  .iso8859-4 .latin4 
AddCharset ISO-8859-5  .iso8859-5 .latin5 .cyr .iso-ru 
AddCharset ISO-8859-6  .iso8859-6 .latin6 .arb 
AddCharset ISO-8859-7  .iso8859-7 .latin7 .grk 
AddCharset ISO-8859-8  .iso8859-8 .latin8 .heb 
AddCharset ISO-8859-9  .iso8859-9 .latin9 .trk 
AddCharset ISO-2022-JP .iso2022-jp .jis 
AddCharset ISO-2022-KR .iso2022-kr .kis 
AddCharset ISO-2022-CN .iso2022-cn .cis 
AddCharset Big5        .Big5       .big5 
# For russian, more than one charset is used (depends on client, mostly): 
AddCharset WINDOWS-1251 .cp-1251   .win-1251 
AddCharset CP866       .cp866 
AddCharset KOI8-r      .koi8-r .koi8-ru 
AddCharset KOI8-ru     .koi8-uk .ua 
AddCharset ISO-10646-UCS-2 .ucs2 
AddCharset ISO-10646-UCS-4 .ucs4 
AddCharset UTF-8       .utf8 

AddCharset GB2312      .gb2312 .gb 
AddCharset utf-7       .utf7 
AddCharset utf-8       .utf8 
AddCharset big5        .big5 .b5 
AddCharset EUC-TW      .euc-tw 
AddCharset EUC-JP      .euc-jp 
AddCharset EUC-KR      .euc-kr 
AddCharset shift_jis   .sjis 

AddType application/x-tar .tgz
AddType image/x-icon .ico
ScriptAlias /php/ "c:/php/php-4.3.1-Win32" 
AddType application/x-httpd-php .php .php3 .php4
Action application/x-httpd-php "/php/php-4.3.1-Win32/php.exe"
 
BrowserMatch "Mozilla/2" nokeepalive 
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 
BrowserMatch "RealPlayer 4\.0" force-response-1.0 
BrowserMatch "Java/1\.0" force-response-1.0 
BrowserMatch "JDK/1\.0" force-response-1.0 


BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully 
BrowserMatch "^WebDrive" redirect-carefully 
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully 
BrowserMatch "^gnome-vfs" redirect-carefully 

<IfModule mod_ssl.c> 
    Include conf/ssl.conf 
</IfModule>
ich habe jetzt auf phpmyadmin 2.5.6 umgestellt

danke für eure hilfe

lolipop 999
lolipop 999 ist offline   Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Download per paypal verkaufen Andreas08 Scriptbörse 5 29.08.2008 05:54
[Erledigt] Download wird nicht gestartet litterauspirna PHP Tipps 2008 6 02.06.2008 18:55
Download abfrage mijoko PHP Tipps 2007 4 18.06.2007 17:12
Nach Download -> Seite erscheint in HTML-Code Locutus007 PHP Tipps 2006 8 26.05.2006 02:46
Download starten (header funktion), vorher Text ausgeben? Harakiri81 PHP-Fortgeschrittene 19 16.05.2006 21:15
Dateiname bei Download ändern aber wie? CoverDB PHP Tipps 2006 16 20.03.2006 16:40
[Erledigt] Download PHP Tipps 2006 6 26.01.2006 19:15
Download automatisch starten nicobischof PHP Tipps 2007 1 26.11.2005 08:27
Download Problem PHP Tipps 2005-2 3 22.07.2005 16:11
Seite zwischen URL und Download Zangelo PHP Tipps 2005-2 0 16.06.2005 22:22
[Erledigt] Hilfe bei Download Verwaltungs Script PHP Tipps 2005 8 04.05.2005 10:29
Dateioperationen und Download kontrollieren Alpha Centauri PHP Tipps 2005 7 02.03.2005 11:52
download automatisch starten PHP Tipps 2004 7 18.09.2004 20:14
datei nach download löschen HTML, Usability und Barrierefreiheit 0 18.09.2004 17:16
download und Insert problem! PHP Tipps 2004 4 04.09.2004 16:51

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
index.php öffnet download, apache php download statt ausführen, application/x-httpd-php öffnen, problem php wird als download gestartet, php öffnet download, .php immer download, http://www.php.de/server-hosting-und-workstations/42628-bei-oeffnen-von-php-wird-immer-download-gestartet.html, apache immer download, download.php öffnen, apache php öffnet download, php immer download, pdf mit apache fos nicht öffnen in photoshop, php htaccess log download statt öffnen, php download statt ausführen, php apache wird download geöffnet, index php will immer download, localhost download oder öffnen, apache2 php download öffnet sich, php öffnen nicht downloaden, phpmyadmin datei wird immer als .bin geöffnet

Alle Zeitangaben in WEZ +2. Es ist jetzt 21:42 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.