Heim  >  Artikel  >  Backend-Entwicklung  >  php无法解析的有关问题

php无法解析的有关问题

WBOY
WBOYOriginal
2016-06-13 10:39:11727Durchsuche

php无法解析的问题

php无法解析的问题1.php解析的php文件路径要写对  #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL  #指定php.ini 的存放目录  PHPIniDir "C:/Program Files/PHP/"  #载入php的模组  LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"  #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL 2.文件解析的格式   在<IfModule mime_module>标签中    #				          # If the AddEncoding directives above are commented-out, then you    # probably should define those extensions to indicate media types:    #    AddType application/x-compress .Z    AddType application/x-gzip .gz .tgz    #及指明文件名是.php .phtml .inc .php3的文件都当成php程序解析,其余一般当成网页    AddType application/x-httpd-php .php .phtml .inc .php3    #指明文件名是.phps时,把内容当成hightlight的原始码输出到网页。    AddType application/x-httpd-php-source .phps .phpsource3.还有一个问题,就是php目录好像一定要在C:/Program Files/下哦

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
Vorheriger Artikel:PHP经过串口发短信Nächster Artikel:修改PHP下传文件大小的限制