Heim  >  Artikel  >  Backend-Entwicklung  >  访问apache里的资源直接下载其文件,该怎么处理

访问apache里的资源直接下载其文件,该怎么处理

WBOY
WBOYOriginal
2016-06-13 11:43:361268Durchsuche

访问apache里的资源直接下载其文件
访问php文件会提示下载其文件,什么原因?http.conf关于php的配置如下:

AddType application/x-httpd-php .php
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm

LoadModule php5_module "D:/php/php5apache2_2.dll"
PHPIniDir "D:/php/php.ini"

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn