wamp httpd配置(php专属)

阅读更多
本文为firedragonpzy原创,转载务必在明显处注明:
转载自【Softeware MyZone】原文链接: http://www.firedragonpzy.com.cn/index.php/archives/515


LoadModule php5_module "C:/php/php5apache2_2.dll"
PHPIniDir "C:/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm

AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php/php-cgi.exe
项目路径配置:

    Options FollowSymLinks ExecCGI MultiViews Includes
    AllowOverride All
    Order allow,deny
    Allow from all


    ServerAdmin [email protected]
    DocumentRoot "E:/phpPractise/ZF_first/public"
    ServerName localhost
    ErrorLog logs/zf-error.log
    CustomLog logs/zf-access.log common
    ProxyRequests Off
    
    Order deny,allow
    Allow from all
    

你可能感兴趣的:(php,httpd.conf)