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/下哦