`
fireDragonpzy
  • 浏览: 447196 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

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
项目路径配置:
<Directory "E:/phpPractise/ZF_first/public">
    Options FollowSymLinks ExecCGI MultiViews Includes
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>
<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot "E:/phpPractise/ZF_first/public"
    ServerName localhost
    ErrorLog logs/zf-error.log
    CustomLog logs/zf-access.log common
    ProxyRequests Off
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
</VirtualHost>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics